But why did he have to gamble with all, if he wanted to gamble so badly and was so sure he could double the money, why not split the money into two parts, one part greater in ratio than the other and use the lesser part to gamble seeing that he's already a problem gambler.
Because he chases his losses in hopes to recover the money first lost. But sadly the result is unfavorable, instead of regaining the lost amount he lost them all. This simply show how bad chasing losses is.
In my analysis he is first a silly individual, and allowing himself to be a problem gambler without accepting it and wanting to change has made him more sillier. I doubt he will be without a roof over his head, even if he has to squat with someone for a while or make some payment to retain his accomodation...but this experience I really hope will serve as a lesson to him to make better decisions next time. If he doesn't, he collapsed today maybe tomorrow if he continues, he may have a heart attack, slump and just die.
I bet the guy has developed a compulsive gambling disorder. It is also possible that it is not his first time doing such a thing and possibly he has lost the money allocated for payment before he asked for a loan from a loan shark. Then due to the uncontrollable urge, he gambled the loaned money and lost.