I understand your situation. When I stopped drinking I changed a lot. My husband (though never a drinker) refused to even consider he played a part in our relationship troubles. So...it's hard. Sometimes it's lonely. But, you cannot use it as an excuse to drink.
Have you talked to him about his behaviour and how much it hurts you, at a time when things are going well? If not, try to do that. If you have and it hasn't worked, then all you can do is take care of yourself.