Losing my mind

So.. I'm pretty much going crazy over here. Last week my boyfriend told me he was scared of commitment and later on I found some texts he had with one of his friends saying he "had a crush on this girl from his gym" but then after a couple more texts he was like "actually I'm pretty happy in my relationship, I'm not gonna fuck it up". We talked, we solved things, we're happy again. Or so I thought. Everything is back to normal, except I need reassurance every other minute when I'm with him. I don't want to be clingy or needy but damn, I feel insecure he's gonna end it between us or something. I know i don't need a man to be happy, but he's been there for me in the hardest times. He's stuck with me when I fell out with my parents and they basically kicked me out.

I saw him for lunch today and he said he was very tired because he couldn't get a second to sleep last night and I totally get that he's tired, it's just that I feel that he needs to be constantly paying attention to me and telling me he loves me and that we're cool.

When we talked, I was so heartbroken that my mind actually went to a very dark place. I wanted to hurt the girl he had a crush on, I wanted to hurt him, I wanted to hurt myself. I have never ever ever felt like this before, I don't know what to do. Someone please help me