How can I deal with the fact that I was a side chick unknowingly?

So I have been with a guy since like 5 months, he has an interesting life while at the moment my life is quite boring , so I guess this was the main factor for my attraction towards him. He has a lot of these travel plans that just come about all of a sudden (or he make it seem like that to me ). But he's very mysterious so these kind of stuff about him kept me hooked but i was totally into him that I overlooked a lot of his red flags. Anyway he kinda ghosted me around one and a half weeks ago, and I later saw his story that he's travelling abroad and I also came to know that he is with a girl and that's his girlfriend, this has totally broke me. Because I didn't know I was the side chick. It just hurts so much. I'm on the attractive side and get compliments wherever I go. I cannot believe that I got played like this and this guy is is not even on the good looking side smh but the way he talks is charming and he's extroverted so he gets girls ig. He just made it seem like he was so into me (I guess he was just saying what he thought I wanted to hear to keep me hooked). I was totally into him and overlooked every single red flag he's shown and now im totally depressed and upset. Is there any way to deal with this situation?

How can I deal with the fact that I was a side chick unknowingly?
Post Opinion