Our sex life

My boyfriend hasn't been staying hard when we have sex. He tried to tell me I wasn't tight. After the third time I got so upset and walked out. I have never questioned my own womanhood in my whole life. I was embarrassed and questioned if he was even attracted to me anymore. He ended up telling me it wasn't me that he feels he has no sex drive. He said he didn't want it to be him that's why he said that. He apologized and admitted he should have never said that. But what do I do about his sex drive?? I can't MAKE or force him to want sex. He says it isn't me, he says I'm "beautiful" and "hott" but I can't help to wonder if it isn't attracted to me at all or if he isn't happy and isn't being honest. Everything else in our relationship seems perfect. No relationship is perfect we do have our normal hiccups but I got out of an emotional and mental abusive relationship he completely saved me. Has shown me real love and compassion. I don't know what to do and have never experienced this. Any guidance is appreciated.