When is it legally or ethically okay to target by race, sex, or culture?

See recent job posting in foreign country. They favor a female.
Next pic - email specific about ‘Black Philanthropy’.

there's Chinese organizations, and Jewish, etc.. it seems some groups are allowed to limit by market segment. But if change that word to white, southern hillbillies, etc.. lawsuits.

Is racism sexism culture creed ok in some usages?

When is it legally or ethically okay to target by race, sex, or culture?
Post Opinion