I think when you keep gambling using borrowed money it's like committing suicide because there is no guarantee you can get a profit from gambling, it's better if you still need money to gamble, then you work and look for money and as much money as possible you use it for gambling. Gambling is not based on debt or the like because when you lose you will lose and be depressed.
It is likely a suicidal attempt, it's a liability if it wouldn't make any profit unless it will turn the table and you hit a jackpot. It's good to gamble as long as you're not going all in and still thinking for yourself, the needs for everyday living and if you have family make sure it's intact until the day you've been compensated again.
More than a suicide attempt, it is actually like a grasp of air, trying to breathe underwater and clinging for hope.
Gambling using funds that came from a loan is a recipe waiting for disaster- you are clinging to something that is already risky in the beginning. In the event that the gambling activity fails and you lost more money in the process, then how would you able to repay the loan? If the loan contract states a contract of guaranty where your assets have to be liquidated, then expect that your assets can be the subject of payment to your debts.