Am I stupid are in love

So I was in a relationship with a dude who I thought was the Love of my life two years into it I find out he went and got married will still messing with me so I left stop talking texting stop having sex and everything it was over then his daughter got killed by her baby daddy and I text him to check on him and one thing lead to the next back together then I was like man why am I doing this he's married and I don't want no one doing me like this if I was married so I ended everything so 8 months later he's texting me calling saying he loves me miss me and wants to work it all out can he take me out on a date so I said ok a date as a friend that's it we go out and guess who's calling his phone his wife I'm so over him