That's the mindset that most poor or lower middle class people have, I think the circumstances are the main cause that will push his mind to continue gambling and get a lot of money from winning to improve or increase finances in his life. I think only a few gamblers think to see how much money they have allocated to gambling, because their main focus is only on winning and indirectly it makes them forget about how much money they have lost in their gambling involvement during that time, of course if they see it maybe they will be surprised but that does not mean they will stop or just reduce, there are many choices they can choose between being more aggressive in gambling next with the aim of breaking even or reducing it in terms of budget so that the amount of defeat is not too large.
Honestly, I can't tell if rich people gamble more often than middle to lower class people or if they are very rare because they have a lot of activities in the real world, but what is certain is that as you said, rich people have a good financial level and with that, they have the freedom to put any amount on their gambling, for them winning is normal and losing is also normal, because obviously they already have a place to make money that is like running water, endless as long as they continue their business and that means that maybe losing is not something that matters to them.
They are encouraged to continue gambling using more and more money, just wanting to win from gambling and wanting to change their lives for the better. Unfortunately, it won't be easy because, in gambling, they can experience more and more losses, and if they don't realize it, they will end up spending a lot of money that they could have saved. They will not remember how much money they have spent gambling because they will continue gambling even though they have lost a lot of money. If they saw the amount of money they used, they might also be shocked, but that still wouldn't stop them from gambling. Maybe if they have gotten a big win, they won't stop because they have felt the big win and instead want to get more big wins and will continue gambling.
I think many rich people probably also gamble and spend their money on gambling but they still have sources of income from many places so if they spend a lot of money, it won't really affect them. Rich people can also gamble whenever they want. But they prioritize their business matters rather than gambling because, for them, gambling is just entertainment that they don't need to do too often. If they can get more business, they can have even more money. They know that when gambling, they cannot expect always to win, so that is why they only gamble for fun and can stop once they have had enough of gambling.
The factor of circumstances and weak finances in real life is the biggest driver that makes them always chase victory and do not care how much money they sacrifice, actually what they do is not a struggle to achieve a big win but slowly if you or they realize the facts that occur are actions and goals like that only throw their money drained slowly and without realizing it, the more they are surprised by the amount they lose a lot then another possibility or another decision that seems more likely they will choose to act more aggressively because of the inability to accept the risks that occur.
In fact there will never be a better situation if you have that perspective on gambling, simply put when you lose you will be curious and when you win you will be addicted, so it's actually a cycle for people who are already into addiction. For the rich themselves it obviously seems to be true that a good financial situation will not make them act excessively, the logic is as you said that by having many sources of income then obviously at first glance I already know that most likely they come just to fill their empty time along with seeking entertainment, while the poor have a purpose that is not recommended, as I said that the situation factor is the cause.