How is it that H can be mad at the very people, his family and friends, that care about him the most.
Because WE'RE the ones that cause them to feel SO ASHAMED. Your H treats those closest to him like crap because HE feels unworthy of their love and HIS self fulling prophecy is that HE will lose it...so he does in bits and pieces with each breach of his moral boundaries.
YOU have a very clear picture of where your Hs head is at...good for you. Work with that knowledge, it will help YOU turn HIM around.
You also have a realistic picture of yourself and what you need to do, so you're already on your way to healing. T2