Borrowing money to solve some problems isn’t bad, but borrowing money to gamble is really bad.
I fully agree with you, the ones who borrow money to solve some of their financial issues or to buy some food for their family is good use of borrowing but it's not good at all to borrow money for gambling.
If someone becomes an addict then in most cases no one lend money to such people but if still somehow they get success in borrowing money then it would be problematic for both the borrower who gambles it away, and for the lender who might not get his/her money back.
Additional not just for the borrower but also to the person he manage to borrow the money, the chance that he'll be losing it with his gambling is not by far, knowing that addiction to gambling lead a person not to think well, as the priority is to keep on playing and with that the chance they'll just going to add it to their loses possibly to take place.
While for the person who let them borrow the money, the chance that he won't be able to recover his money might take place as being helpful in such way is not going to help but will just adds up to the problem, better to say no if you have an idea with how the person who's asking for the money will use or spend it, tolerating will backfire to you as the money will no longer be repay.