Temptation, lust and relationship parasites are what is destroying Dan and his marriage to you. Until he can curtail those cold turkey and love himself and his god, Dan has no hope in loving you as he really should.

Does he really want to practice his faith as the bible says or is he just attending church as part of an act? I so hope your pastor grabs hold of him and asks him some hard questions and makes him wake up to see that his sexual deviances are the main reason his marriage and his very soul is going off a cliff. If Dan believes in his faith, surely he must know that he is going to be judged some day for his indescretions and he is not living his life to a standard that would meet with his gods approval.

Possibly the reason he wakes up every day and wants to die and that he feels that he can never be happy is that he is torn betweeen 2 conflicting lifestyles - that of a sexual diversion and that of an honorable loving family man.