<human>: My buddy, who we will call Justin and I have been friends for just about a decade, have gotten closer over the last four years. He is like a little brother to me, I love him to death, but he recently said some sexist/misogynistic things which made me feel uncomfortable, and if it's really how he feels about women, i'm not shocked that his gf recently just broke up with him.

We were hanging out and i mentioned how a female friend asked for my advice about something, which she normally does, but never really takes my advice to heart and then complains when she should have. His response to this was, "well, that's because women don't listen." I responded by explaining how sex does't matter, he was still maintaining that since women don't listen to men, they usually fail at whatever they're trying to do. After attempting to explain it to him a few times, we just sat in silence, then it got dropped.

This was 4 days ago, it's still bugging me and I'm going to talk to him about it tonight. What I'd like is maybe some opinions on how to really open the conversation. Has anyone here had to have this talk with anyone? I don't want to lose someone I consider a brother, but I can't have these kinds of people in my life. I want to handle this in the most caring, but firm way as possible.

Can you summarize the given text in a few sentences?
<bot>: long time friend said some sexist things to me, going to talk with him about it tonight, how to properly handle the conversation?