In the long term of human past history, the salary, the pay, the reward is basically based upon individual contributions whereas the root of the problem consists in a fallacy that not any system can literally measure how much an individual is really contributing to a society and more often than not, the contribution is often heavily dependent on the contexts, where, how, what, who and when.
Supposing you are walking in a dire hot desert, it goes without saying at that moment , water is the most useful resource to be featured rather than valuable jewelries or diamond. In that case, the people who can hold the water resource can gain the profit from the scarce resource. Nonetheless In an extremely developed capital society, we can think jewelry deals might be easy to be rewarded a lot who might be totally useless in a desolate horrible jungle.