That's right, because gambling is not bad as long as you have good intentions as to why you gamble. The intention is good in terms of not thinking that this is a good job to get income; of course, that is not what is meant to be said. Although it becomes a tool to do evil to a person.
Gambling in its state is neutral, it will look bad when someone abused it and failed to control themselves in spending money to it. Gambling is created to entertain, so in its goal is to make people have fun. It is a positive goal but people who tends to lose their footings and discipline by overspending to the point of getting loans and buried in pile of debt make gambling industry the culprit which in fact it is the player's fault.
I agree, gambling itself is not bad, the bad thing is the greediness of the gamblers that in aiming to have a huge win, they spend their wealth trying to get that huge win until they succumb to their goal and become addicted to gambling.