gambling to pay off debts in my opinion is the wrong action, gambling will not completely solve the problem, although there is a chance to get a win it is unlikely to be obtained as expected borrowing to pay off debts is tantamount to digging holes closing holes if they really want to pay off debts they must realize that to get money and pay off their debts they must work not gamble if they take action to gamble in my opinion it is the same action as killing themselves...,
Your explanation is quite good and in simple terms it is assumed that paying off debt by doubling your money in gambling is not the best way, but it is a quick way to mislead yourself into misery or you could say a bad future.
Gambling is always called a place to lose money and if you are lucky the money will become more but it has a condition, namely use money that you can afford to lose, not money that can be used for other needs.
Another understanding is that gambling is a business that is provided for gamblers who want to have fun and provide profits to gambling owners and the profits given to gambling owners will be used to develop their gambling again so that it becomes bigger.
From the last explanation I said, it is quite clear that otherwise it would be possible for us to place our hopes on gambling to get more money and be able to meet the needs we want, including paying off debts.
Anyone must always remember how gambling works so that they don't have the wrong understanding in the long run.