True, IMO gambling should be pursued purely for entertainment and not as a financial investment because it's highly risky, and you can lose a lot of amount of money very quickly. It's better to see it as a way to have fun and to set strict budget limits.
I'm pretty sure you'll need the money you might spend on gambling someday so you have to think twice before gambling.
Unfortunately, a very large percentage of people do not have a sufficient level of financial literacy, so they think that gambling is an easy way to make money. The strangest thing is that many of them do not realize that gambling is an entertainment that requires money even after a few big losses. A million articles about gambling on the Internet they are not interested. In my opinion, such people just do not want to think and analyze, they rely on the will of chance. Well, it's their choice.
In my opinion, gambling is actually not a problem if as many people have said, it is for the purpose of having fun. However there are still some people who consider gambling to be a source of income for them.
In fact, not all gamblers are minimally literate about the many articles and cases that show the negative impacts caused by gambling activities.
I think they actually know because the news and many cases of the negative impact of gambling activities have always existed even before they were born, but most of them ignore it because they think it's better to try the opportunity to gamble which they think is a shortcut to get money quickly without perform various kinds of difficult tasks like someone who "works" in general.
What the OP said is true, that in essence we must be able to educate ourselves and control our desires so as not to gamble excessively, and we must know the limits of our abilities so that we do not exceed our abilities and financial limits when gambling and causing big losses for ourselves.