Working harder doesn't mean you get paid more.
The ceo being paid a lot doesn't imply they have to have worked harder to obtain it.
The board determined the ceo pay , and the board represent the shareholders, who ultimately are the final arbiters of the value being generated by the ceo.