Put another way: "I never had HR problems until I created an HR department." An old aphorism, but one that in my experience has a large grain of truth.
I think the above would be more true about DEI departments. Companies have found that out which is why so many are getting rid of their DEI departments. Why pay somebody six figures to be a pain in the ass?