You pretty much just repeated the same thing back, so yes, I think that is your opinion.
> If someone has enough money that wasting it on gambling is a problem
They don't have enough money, which is precisely the point. The link I shared shows how lower income people spend dramatically more of their money on lotteries and gambling.
> their problem is that they are irrational gamblers.
How do you think they got that problem? Why do you think they continue to have that problem? It seems to me, that you think it's because they aren't rational enough about managing the money they do have, which...is what you said before: poor people are poor because they're irrational.
You don't seem to factor in the idea that certain groups of people are taken advantage of by bad actors, and that these people become accustomed to this exploitation, and learn helplessness in the face of it.
I think the points I'm making here are pretty obvious truths to anyone that has interacted with / from a lower income background, where gambling, lottery tickets, and other "vices" are widespread. These aren't rational financial decisions, they're consequences of being exploited by more powerful forces.
A working class person addicted to gambling isn't going to suddenly go, "Oh, I should just invest this money into an index fund." That is entirely alien to that culture and group of people. It's not something they were taught, it's not something their friends do, and it's definitely not something the institutions around them are interested in doing.
Now, if you said that, "then the goal should be to educate people so they invest their money and don't just gamble it away," then sure, that's a noble one. But as you said:
> Sucks to be them