Why do I seek attention from my ex?

Whenever I see my ex hanging out with another woman a get jealous. I don’t want him back, him and I were no good for each other. I’m realizing that what I miss is the attention from him. I could be feeling jealous and upset, but if he came over to chat with me for a few minutes I’d instantly feel better. I’m struggling with trying to make myself not care if he speaks to me, or if he talks to other women (which obviously he will, we both will move on)
I feel like I have low self esteem. I’ve always had this fear that people around me won’t want me and I’ll be abandoned.
Any tips on how to just let go and care less about him?
Why do I seek attention from my ex?
Add Opinion