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.