That is not how to achieve equity.
Unfortunately, it has happened that when the people in charge only understand “quotas” and do not understand “equity”, they apply “quota” when it should be “equity” and you end up in that situation you mention above.
This was an issue in the early 1980s at the first applications of affirmative action and the hiring heads were not properly trained on what to do nor in what the timeline of expectations were.
And so the first wave was a disaster resulting in exactly the opposite of the reasoning affirmative action was put in in the first place.
By the mid 1980s they starting working out the kinks and getting it figured out.
I was a kid at the time but I’d hear about it from my mother’s office as well as learning some of it on my own.