This is a great point so many companies don't seem to get. The company I worked for previously thought their pay was "competitive" because they kept people at median of market. Company before that, same deal, I was paid a "fair" median salary. Turnover at both companies was very high as you'd expect.