Good point, the only thing is the mediocre doctor still invested more time and more interactions with others people due to time invested to complete the degree which contribute to higher compensation.
True, but that says nothing about the quality of work being provided, which is a big component of the quote.