Anyone hiring because someone is a certain race, sex, religion, or whatnot is actually harming the company because they are not hiring the best qualified.  Diversity is discriminatory because it violates the same rule.