Fucking Ex...Advice Needed Please

So I loved my ex but we broke up because I couldn't trust him. He kept talking to his ex every time we got into an argument. Eventually, I got really upset. He likes other girls pictures with their boobs and butt hanging out and I catch him. One time I asked him politely if his ex was stationed at the same base he was (since they're both in the army national guard) and he said no and I didn't have to worry about it. Soon enough, she posts a picture of herself with her location at the same base he's stationed at and I got really angry because he lied to me and she was there so I'm thinking he was trying to hide it from me and was actually cheating. And I've posted about him before.

Now I've cut off contact with him and he keeps texting me asking for nudes but also saying he will never visit me again and that he is fine with that. Then he texts me again and is telling me hey and that I'm cute and I'm bitter af already.

So I told him that he needs to quit contact with these girls and he is saying that I'm in the wrong and I can't force him to cut off his friends and he's telling me that my personality is ugly because I'm jealous and he's letting me know so that I can be better in the future. But if my personality is so ugly why is he still messaging me?

Am I really in the wrong? I told him if his friends matter so much to him, then he should just leave me alone because I'm tired of feeling like I need to be jealous. If he loved me, he wouldn't put me in a state of jealousy right? A lot of other guys want to date me but I'm too heartbroken to move on completely.