You need to understand that what you say here is very akin to what the media and the politicians like to say when they want to blame video games for violence. You seem to believe in a similar fashion that the existence of sexism and misogyny in game worlds somehow encourages real world discrimination.
The counterpoint to the violence being portrayed as okay is that violence is shown as NOT being okay from other areas. There is also potential differences between what is an idea compared to an action, and what influences those have.
Also, it's not that it "encourages* discrimination. I'd argue that most (or at least a lot) of discrimination isn't even conscious. I grew up in a time when being a gay man was basically "icky" and it was a common pejorative to refer to someone as gay when insulting them (the word then got applied to all sorts of other negative connotations and was problematic in other ways, but I digress). Though I was taught to not look down upon a gay person, and if I were to ever accidentally say or do something that was disparaging (such as casual use of the word gay, when I meant silly/absurd/stupid), I certainly didn't feel like I was being a bad person and would defend that I wasn't intending to be hurtful. It didn't stop me from not wanting to be called gay, or being confused and uncomfortable when I learned someone was gay.
If it desensitizes discrimination, however, that could be a problematic thing (though we could argue that us discussing it is still a positive, as it helps with awareness).
Anecdotally, I know people that think that Game of Thrones is a pretty accurate representation of how things were like in medieval times. I also know people (including myself, at one point) that hear something like Braveheart's Prima Noctis declaration and, for whatever reason, assume that that could very well have been a thing and therefore probably was (Lets just say I'm pretty skeptical at its prevalence now). I remember my Mom asking me "why do black people say the f-word all the time?" while watching a movie. She was taking what she saw in that movie, from those characters, and assuming it was a common cultural thing among all people with that skin colour. Stuff like this can be problematic, especially if your exposure to people of different races tends to be limited (I grew up in Edmonton, and it's a pretty white city for better or worse).