Can't have sex😭

Alison
My boyfriend and I have been dating for 4 months and were friends for years before that. Towards the beginning of our relationship, i was having complications having sex and since then I've been in and out of the doctors trying to figure out what's wrong. Today, I may have found out I can't have vaginal sex at all. I'm devastated. My bf was very supportive at first, but today I was panicking and I flat out asked him if he would leave me if I can't have sex. I thought he'd say no, he loves me too much, but he said "honestly idk...I would do everything I can to make it work but that's the best I can do right now." I'm really hurt by this, but should I be? I feel like by saying that he admitted he doesn't truly love me. I'm so, so hurt. Does it sound like he doesn't love me to you guys? Should I be hurt or is this what any guy would do?