In simple terms, I actually think that the good and bad of gambling always depends on how society as an individual treats the activity.
Basically, gambling is a risky activity, but gambling will not be too high risk or have a bad impact if someone treats it in the right way, such as not exceeding their ability which is often suggested by many people here.
This means that I think it is clear that gambling can only have a bad impact when a gambler comes with the wrong mindset and method, such as wanting to make a lot of money for example, but when you gamble moderately in the sense of not exceeding your ability by only betting the minimum amount according to the money you can afford to lose every time you gamble, then I think gambling will not have too bad an impact.
This is another way to make money which many people are trying their luck to make money without going to do fraud just to feed their families. I would prefer a community or society that would rather gamble or play games to make money for themselves and take care of their families compared to a society that depends on fraudulent active or drug deal to maintain the inflow of money. I don't see anything wrong with playing games to fund for the family because it is another legal way to make money if one is actually smart and know tricks of earning consistently without rigging the process.