I deserve better but can’t accept it

Megan

My ex and I were dating for two years we were so close but there was always the issues of him lying. After a while he broke up with me and immediately went to someone else. After four months he came back to me. He went to cabo a few weeks ago and I ended things out of anger (he had a tinder and was caught at the movies with another girl who talked a lot of shit about me to him) I tried taking it back but he wanted to talk when he got back. It was because he found a girl. She is beautiful but lives long distance so I don’t see it lasting. I hope it does so he can be happy. I need advice to get over this hump I’m in so much pain even though I deserved better. I haven’t eaten in days and can’t stop thinking about it.