How do you handle this?

My ex told me that he should have left me a long time ago and that he didn't see himself coming back to this. I did a lot for him when he was unemployed and when he was sick. He got upset because I stood up go him and I told my family about how he fat shamed me and ridiculed my body on several occasions. He would also drool over women that were more smaller than I was and also keep pictures of women in their lingerie on his phone and computer. How was I wrong for standing up for myself?
How do you handle this?
Post Opinion