Exactly, and if one has a lot of hard-earned wealth thanks to their own smarts and merit and drive to work hard they’ll of course happily spend it on all the right things to make sure their kids have even more of that than their parents. With private education and all that blocks opportunities for kids in lower income families and increase inequality; merit becomes a proxy for wealth and as meritocracy matures it becomes more and more a rule of the rich. (Being “a proxy for” is not the same as “being confused with”, it’s just that one would more or less follow the other.)
The question is, how possible is it to level up. At least in Europe not so difficult, and in the US the Asian immigrants also show it is possible (if you think in terms of 2 generations).
Merit is due to many things, and mentorship, experimentation, and preparation are all parts of it. Medical training is also very expensive and part of medical merit, but also clearly entangled in discussions of money, opportunity, and growing inequity.
If you have hidden biological talent but never trained as a doctor due to wealth, should we trust you now to perform medicine? Not before that expensive prep; it’s part of merit.