Basically if you want to not lose money gambling you need to either never gamble, or stop gambling once you have won more than what you have gambled so far.
The key reason that triggered one to either continue betting or stop permanently is profits and loss. It demonstrates the fundamental requirements of gambling; earning more than expected will only bring forth the quality greed, and I would not welcome losses on my bet games. I'd rather stop than keep gambling since it will never cease unless we make a firm decision to stop. Our minds are wired in such a way that we become addicted to whatever activities provide us with food. Gambling without setting daily limits will result in huge losses. Gambling is not a viable strategy for making extra cash.
There's a popular saying among hopeless gambling addicts that the worst thing that happened to them was their first win, so there's a lot of truth to what you wrote.
Then again, if you are aware of how human brains operate and what causes addictions and degenerate behavior - then it's way easier to keep your gambling activities under control, i.e. don't gamble for entertainment and only consider it when you spot an opportunity where the edge is on your side.
I like to follow that statement. The first win gives you the thinking that you can continue repeating the first outcome of your
game, that no one can stop you from bringing more bacon to your table.
With that thinking, your engagement will increase your lust and desire to keep playing will lead you not to control yourself anymore.
Something that the casino owners would love seeing on you as you will keep bringing more money in the hope that you'll be
able to keep winning the game, but in reality, you are just bringing more money to lose.