This is very true. I am a female account executive working in tech and I've negotiated pay rises multiple times. If you don't want to job hop, it pays to interview every few years with some other companies and then go back to your current company and say "hey I have a job offer from X company, they're offering me $20k more, what can you do to keep me?" and they will almost always give you a pay rise. Especially if you are a good employee. You have leverage if you are a top performer. I'm the top salesperson at my company, and always have been, and I can get whatever I ask for, within reason.