[Content Note: Sexism, Rape Culture, Violence]
Here's the thing. You have this character. You want him to be a bad guy. Maybe not the Bad Guy, but a bad guy that most people wouldn't like in real life. Maybe you know someone like this guy in real life and you think, hey! I'll put that guy in my novel. That's fine. It's fair. There are some crappy people out there, after all. It's a decent characterization.
But when your bad guy is going around blatantly doing horrible sexist stuff, and your good guys never actually call him on it or indeed do much of anything besides sort of weakly and ineffectually protest, your good guys do not seem like Good Guys to me.
This does not mean that your good guys should punch the bad guy in the face in a fit of righteous rage over the bad guy's sexism. Feminists are not actually all about beating up men. What it does mean is that your good guys might actually seriously and effectively call your bad guy on his sexist stuff. Or they might stop hanging out with him entirely! And they might, just might, do things to effectually help the victims of his sexism! Because those women he is hurting? Are actually in fact people. So you might want to do something about that.
And if that doesn't seem "realistic" to you because in real life you never call your buddies on their sexist stuff despite there being real live victims in front of you being hurt, you might want to reevaluate how you are living your life.
Feminism Pro-tip: Being friends with sexist guys is not actually good ally behavior.
Writing Pro-tip: Good Guys have to actually be good, not simply better than the bad guys.