My bf doesn’t ever want to have sex with me

My boyfriend and I have been dating for over 2 Years now, and we have been sexually active since around 5 months into the relationship. About 6 months ago, we started having sex about once a month because he told me he didn’t want that to be all our relationship was about. Beginning around 5 months ago, it started getting less and less, and now we do it about once every two months. When I ask, he always says that he thinks he’s just too focused on making sure our relationship isn’t just about sex and that he will try to do better at actually giving me attention (he basically ignores me because he doesn’t want to have sex with me). Has this happened to anyone else? And do you think that this could be a sign he isn’t attracted to me anymore? I need help.