Gambling is not really a bad thing the bad thing is not having a limit to yourself,
For example you loss some of your money and tried to gain it again by gambling and in the end you would just loss it again,
So just make up some limits on how much you could afford to lose and just play with that amount.
Gambling is not really bad at all - in fact, it is designed for entertainment. However, if the gambler uses all of his funds and even family properties and loses them all, that is a total disaster. The lesson is that, you should only play with the amount you can lose and just for entertainment - when it is no longer fun, stop.