It is an addiction, an obsession so to say and hence very difficult to get rid of unless there is a sincere will to get rid of it. Even then it needs perseverance or else some shock (as happened earlier) to stop it for some time at least.
Remind him of the past losses and the difficult period after that. If nothing helps please seek professional help.