It's a lot more than just "not every case" though. Every place I've ever worked, we have explicitly hired inferior candidates due to their racial/gender/etc characteristics. I know this not just from intuition but also because of the many times that "adding diversity" has been given as a justification for extending an offer to person X who was clearly not qualified.
I will agree that DEI initiatives are not all bad all the time. The ones that are based around improving communication, and not in the "fire this person because they used the wrong pronoun" sense but the "actually put down a set of principles for what effective communication looks like" sense, have been pretty positive IME. Also at my current company there was some drama several months back where blatant power plays by one of the execs (they fired someone who was beloved by the department presumably so that they could climb the ladder more) got reamed by the head of DEI (happily, for entirely non-racial/etc reasons). So it is nice when the ring is held by someone who's on your side ;)