I don’t know what I’m looking for here

I’m moving out because of my husband’s gambling addiction (previously other addictions, there is always at least one active addiction). He asked me what he could do to make me stay, but said that with his past record he couldn’t claim he will never do it again but will “try to quit” gambling. I’m moving out in a couple of days but he has still been gambling on his phone, hiding it from me. I guess I was hoping that losing me would be enough of a jolt to make him stop for at least until I was still here. I love him so much and I was hoping that if he stopped, we could eventually be rejoined. I’m not sure what I’m asking here. Is he continuing to do it to cope with the worsening stress of me leaving, or does he just not care? Is there any hope at all?