Continuing, a sexist man can have female friends; he just treats them differently. (And I certainly hope you do not make the same comments to them that you've made here to people. I feel bad for them if you have.)
Finally, it's very simple for a man to have sex with women and still just be utterly sexist and treat them as objects meant solely for his own pleasure.
You know, you could actually choose to learn from this experience and challenge yourself, or you can continue to make excuses for your behavior and avoid the problems that will eventually catch up with you.
It's really up to you, at this point.