I know this is hard! But he's behaving like an addict right now, and you've got to stop enabling him. Having sex with him while he openly flirts with sleazy women reminds me of the parents who give money and a home to their heroin-addicted kids using strange reasoning like "I don't want them to have to steal for their habit" or "they are going to do drugs anyway so I'd rather give them a safe place at home to do them." Tough love is the only thing that has any hope of working with an addict! Until you cut him off and treat him like the wayward soul he is, he will never experience any ramifications for his actions and will never repent of them. Cake-eaters will eat cake just as long as it is served up to them.