Welcome to Soberrecovery Lizanon. I'm glad you found us and hope you find lots of support here.
I'm sorry/happy to say that you have done the absolutely the right thing. He may someday recover from this but the odds are not great.
Leaving a relationship like this is usually super painful. Please take extra good care of yourself: eat well, get exercise, and circle the wagons of support.
Most of us see Melody Beattie's book Codependent No More as a bit of a bible around here so you might look for a copy. Also Alanon has been helpful to many.
Courage and healing to you fine human!