Earlier quoted context omitted.
It can be a bad thing and still the best option you got, a lesser of two evils. I don't think anybody should lose out on a opportunity because some minority quota needs to be filled, but I also don't think minorities and discriminated groups should live in a perpetual self-reinforcing unhirability loop either.
What is the assumption here? Marginalized groups will be hired even if they aren't the better candidate? Doesn't that Peter-Principle them right out of the gate? Are we sure that this leads to better long term outcomes?
In reality, people often hire the one they like best - which often tends to naturally be someone who resembles themselves.
Not to mention, very very few companies and positions within those companies operate at a level where they will succeed or fail based on whether they have the best possible candidate. For the vast majority of jobs, a candidate has to be adequate, and you can easily find 10 adequate candidates for every position you want to fill.
It's just like hiring the best street sweeper in the world is not going to significantly impact your bottom line - most CRUD jobs aren't too different from that.