They need the balance and the kind of mindset that will keep them away to any form of greed and addiction, chasing your loses most of the time push to lose more, and from that point you may develop bad gambling habits and turn you to become an addicted gambler, better to enjoy if you win some money of when you already lose your initial capital make sure to stop and not to add more money to try recovering back you loses, it's not a good practice, accept your defeats and take as rest to freshen your mindset and recreate a good strategy after.
I am a person who chases losses until I spend all my savings. It was a bad condition for me. I did that when I was new to gambling. I don't have enough experience yet so I keep chasing losses and increasing the bet so that one win can cover the previous loss. But what I did was wrong, chasing losses made me lose more money. I realized it too late, and only realized it when all my savings were gone. This was a bad but valuable experience for me
Most people who gamble are also like you that does not apply only to newcomers. but also applies to old gamblers who have not realized what they have done like you, it's good that you can stop doing it and no longer chase losses. If you are still doing the same thing maybe it will worsen your situation, there are also many people who cannot stop it so they sell all the assets they have and even sell their own homes to gamble because they want to get a big win that can cover the losses they feel.
Just make lessons and experiences for the future don't be like that again, but that's your right, we can look back but it's not recommended to repeat.