But lookup discriminate and it has a few meanings. One of which refers to prejudicial or unfair treatment. That is the definition implied when referring sexist discrimination.
Every major dictionary specifically uses terms like "prejudice", "discrimination against", "stereotype". There is obviously a consensus that it is referring to negative/unequal treatment.