Compensation is not based on the value provided to the company. Compensation is based on "market rate" as in, the lowest amount of money a candidate is willing to accept to do the job. The information asymmetry is such that candidates accept offers for far less than the company is willing to pay.