It takes a while for a CG to regain his/her Purpose in Life, Berber.
Keep treating your husband as head of the household. You know his true role. When he sees you giving him his rightful status ,with time, he will slot into that role. Gambling damages our dignity and self respect but it can be restored.
As mother, you are the heart of the family.
You have your priorities right.
Never give up hope.
Work on the little things. One day at a time!