Employers these days will not raise your salary at market rate without you jumping from company to company.
For example, person A stays at one company for 5 years and person B jumps from company to company every 1 to 2 years. At the end of the 5 years, person B will be making a lot more than person A.