That's the cycle of life being a gambler. We have to realize that there's no way we can always beat the house. They're the real winners here so if we win some, take time to cash out and don't forget to enjoy that money that we've got.
This has always been the way of gambling, and every gambler should understand that unless they are too confident in themselves, which, in the end, is always disappointing, they always lose a lot of money while trying to defeat the casino, and some still don't learn.
Anytime they win any big amount or have straight winning of about 3-5 games, they get convinced that they have found the perfect strategy to be defeating the house; even if you try to educate some of such gamblers, they don't give you a listening ear until they have lost to the extent that some might turn out to shift blame to the casino that they are not fair enough when the system from the beginning is designed to favour themselves more.
This means that success in achieving consecutive wins can really change the mindset of a gambler, which as you said, many gamblers feel that they have managed to find a way to produce certain wins, and this is what makes them more aggressive and greedy, which is based on high confidence and hope for victory.
But yes, as we see, often these actions actually lead a gambler to a much worse situation, such as losing the amount of winnings they have received or even spending all their personal money. This is the reason why we must first understand the concept of winning and losing in gambling, because then it should be easy for us to cash out early rather than applying greed.