Am I allowed to be hurt?

Kylie
So, my boyfriend and I are going on 9 months strong now. We've actually talked about getting engaged soon, I couldn't be more thrilled. ☺️ 
We were in a little bit of an argument two weeks ago about him texting another girl. I don't care that he is texting other girls, but I'd like him to just say "Oh, so-and-so texted me the other day!". This is just something I've always done when a guy texts me. I want complete and total honesty in our relationship. 
He agreed to my condition, but then he said something that made me really mad. He said that I should be thanking this girl continually, because if it wasn't for her he wouldn't be around today. 
(As far as I know, my boyfriend has never been suicidal or depressed in his life, so I don't know what that means either.) 
Am I allowed to be upset by this?? I mean, his problems before he ever started talking to me were his problems, right?? 
I'm just feeling very hurt. 😔