Generally the market will pay someone what their productivity is or some other company will poach that worker. This is an oversimplification but in general the market should price workers at roughly what their productivity is, assuming the market is working correctly