Gambling is just like smoking or drinking alcohol. The individual who participates in it may lose his money and health. But at the same time, these activities contribute huge amounts of money to the government coffers.
Bullshit government doesn't make shit from most of the gambling activities, only some states in USA has legalised gambling but in majority of the world there are unregulated sites which is one reason why house edge for gambling sites are so low as they don't have to share anything with the government