That is why we really need to learn about self control in gambling and in other things so we can thinks clear and calm down of ourselves. With self control, we will realizes that achieving anything from gambling is difficult and we will not trying to do that instead just trying to enjoy the gambling games as an entertainment. We will not make ourselves deeper in gambling because that will gives us a big risks.
We can not treat gambling as a way to gives us money or become professional gambler because that will be difficult. We will needs to have many things to become professional gambler and achieve anything from gambling and we need to thinks about the negative effect that we can gets from gambling. It is better we use gambling to have fun and spends the money we can afford to lose so we don't get deeper in gambling and will not thinks to achieve anything from gambling.
A clear mind is what we need to understand many things that happen in gambling. After my first big loss, I actually immersed myself in studying the emotions of players, probabilities and other things that can affect us and bring us closer to winning. Ultimately, as you wrote, I found the perfect formula for the game for myself - this is knowledge of many subtle things, understanding that losing and winning is simply a random result to a large extent, so you need to learn to accept it anyway. In short, gambling has taught me many things, sometimes it seems to me that even in life I can now be absolutely calm in any stressful situation, sometimes it even surprises me with my excessive calm and cold calculation.