My husband always says no...

In the past 4 months we have only had sex 5 times and in one of those months not at all. I don't know what to do. He promised me it would change but it's still the same. It's been this way for a year. I even made him go to the doctor. There is nothing wrong with him he just doesn't want to have sex with me anymore. It used to be everyday several times a day then all of a sudden he just stopped. We went 6 weeks last year with no sex. When we finally did have sex neither of us got off. Then we went another 8 weeks. Idk what to do anymore. I know people say it's shallow to leave someone over no sex but I'm really thinking about it. I don't even get affection anymore. I feel like his roommate not his wife. Am I wrong for feeling this way?

I have tried everything to make him want me and nothing! Sexy lingerie, jumping on top of him and instigating sex, a suprise blow job, playing with his dick, strip tease... he still tells me no. I'm literally just embarrassing my self in front of him. Is it bad I want to leave?