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.
Your not wrong OP, but in as much as mistakes can help its better we try not to commit much mistakes cause we cab suffer badly before we learn, but if eventually we make a bad decision then we must try to learn from it rather than feeling bad or unlucky, moving on and learning can be the best practice ever.