Yes, it makes sense. You love him. I feel badly for mine all the time. I'm extremely unhappy with his choices and behaviors, but I care deeply about him, and don't wish him ill (most of the time.)
The thing is, you're going to have to let him fall on his face. Lovingly distance, and watch him screw it up. He needs to learn to REALLY appreciate you. If you rush in to save him, he will learn nothing at all, and this could happen again. There's not a person on this forum who wants to go through this again. Let him learn his lesson.
From what you say, your H still loves you. But it's a selfish love, based on what you can do for him. He wants you AND OW. He knows better...that does not a happy marriage make.
What a situation! I never saw any of this coming. But good things have followed on the heels of the disaster: New friends, self-improvement, life experience, and emotional growth.
Hang in there, my friend...you're doing better than you think.