Can a lack of sex in long term relationship cause depression?

Our relationship went from sex once a week to twice in the past 4 months. I’ve brought it up to my partner and he says he has no libido. I’ve tried everything I can and I just feel like we will never get our old sex life back. I’m starting to feel really depressed, can a lack of sex cause depression?