Why is he so spiteful?

My ex told me woman are terrible and that they can’t handle him. I don’t understand why he as so much angst towards woman. And why speak to me if that’s how feels? He says that I’m missing out on a lot since we are not together. Why is he saying all these things?
Why is he so spiteful?
Post Opinion