People ARE treated differently based on race and gender. For example, women are severely underrepresented in the tech industry.
You can either look into why that is and attempt to address underlying issues, or you can pretend people are sexist for doing something that doesn't directly benefit you.
The way how you respond and means of addressing the issue very much matters. It's possible to have equitable objectives, but using discriminatory means. For example, just declaring quota and filling to order will fulfill the objective, but will be very discriminatory in practice.
You can either look into why that is and attempt to address underlying issues, or you can pretend people are sexist for doing something that doesn't directly benefit you.