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.