Selection of a candidate for a position is based on the candidate's performance in their current role rather than on abilities relevant to the intended role. Thus, employees only stop being promoted once they can no longer perform effectively, and "managers rise to the level of their incompetence."
How about if they were both the same gender?
You probably should, but the reality of a capitalistic system is you probably won't.
I have a lot of friends who did everything they were told would get them good jobs, a stable pay, money to have a house, a vacation... but they have nothing. Not to discredit Pao, but I sometimes just laugh at people lamenting about not getting their millions whilst I'm sitting here, drinking with my suicidal buddy who's lamenting about not being able to land a job, after having submitted his resume to over a hundred places.
And yes, if you do everything your employer asks of you and then some, you should be rewarded. What is this world coming to when doing so is considered "average"?