Yes, gender, sexual preference, race, religion, hair color, etc are the last things that should matter when selecting candidates for any job. Making them a priority, and having ONLY black women as the final candidates, is precisely why it's viewed as a DEI hire.
I'm all for diversity that occurs organically, not forced.
Do you think that the four black women in Biden's final group were truly THE four best candidates? Given the relatively small number of black women in politics, it seems highly unlikely to me.