I think it’s a bit more complicated than that.
I would say if they’re not paying you what you’re worth then there’s a few possibilities:
- You are less important than you think you are
- You think you are less important than you are
- They just underpay everyone and don’t care if you leave