I don't understand men!

I suffered a miscarriage right before my birthday and instead of my partner being supportive I caught him on FB messaging other women. Talking inappropriate and sexual with them. Now he wants to flip it and blame me for doing what he did on me. Long story short I ended with him.