This isn't a problem you can solve in the endgame, having previously ensured that
only a privileged class is likely to be "most qualified".
And, as such, it isn't even just an educational issue, but a societal one.
Fundamentally equal education can't only be available to some economic classes,
some colors, some countries, one gender (some genders?).
And once it isn't, the problem of hiring the best, AND hiring with diversity at the same time, solves itself.