Lost Spark

Lately I feel like the relationship has lost spark. We’ve been together over two years. He barely ever wants sex. I try to understand because I’m 22 and he’s 29. He works hard at his job and is always tired. But it makes me feel insecure the fact he never wants to have sex and when we do it just doesn’t seem that great. I’m to the point I’m losing interest. Not only that he never wants to go anywhere he just wants to sit at home in his free time. And then when I complain he says that I’m bitching. Im tired of putting in all the effort and getting nothing in return. Both sexually and also emotionally. I don’t want to leave him because he is a good guy he just puts effort into literally nothing. I just don’t know what to do at this point.