Of course, it is not in our mind and we try to avoid mistakes but still, it comes to us no matter what we do. But this thing sends us a message that every mistake we make has a positive result and one thing is that we improve and change our style to a better one. We could just think that we have to limit our gambling time, stop being greedy, and avoid addiction because we already know the outcomes as it happened to us in the past and we don't let it happen again.
Therefore, I would say that we don't have to be afraid of committing mistakes because this also helps us to see things that we need to change and become a responsible gambler.
I'm sorry but I have to disagree though, gambling is more on the psychology of humans. What I mean is that maybe we can experience losses and learn, but still at the back of your mind you wanted to go back and have that kind of experience. So you will go and bet the same over and over again until you win. But the worst part is that, in gambling we really don't know the outcome or the result.
And that's why make gambling is really very addictive that even deep inside, something is telling us to stop, but we can't and so the process goes on and it repeats over and over again as if you don't learn from your mistakes.