Random selection would get obviously terrible outcomes too, but for different reasons. I’ve yet to hear anyone who complains about the inherent biases in meritocracy propose any system which isn’t just as pathological. Like, what does “fair” actually mean here? Should we select based on IQ tests? That’s illegal. Select based on conscientious? That biases for people who have free time - and hence it biases for wealth. Select randomly? Actually it turns out society benefits more from educating our best and brightest.
“Meritocracy“ is never perfect. But it’s better than any other system I can think of. Complaining is easy. If you were in charge, how would you make it better?