How to stay together with commit issues

How can you stay with someone that has major commit issues?

He won’t commit to me, which is ok but he also deprived sex and relations, he says because sex is what I want and giving me the things I want makes him feel committed so he doesn’t do it.