There are always lessons that we can learn from events and you don't have to wait for them to happen to you because there are enough examples of addicted gamblers that we can learn from and not follow their ways of gambling if you don't want the same fate as them, As you said above my friend, limiting the gambling budget in the sense of only putting the amount we can afford to lose and also limiting in terms of time so that we avoid the many temptations that can make us tempted and this is a healthy approach to gambling and is recommended for long-term safety.
We must takes the lessons that we gets from our experiences or others so we can prevent the worst problems that can occurs to us. We must used gambling as a fun things and not to makes money although some people can makes money but we must realizes that we will difficult to makes that money. Limiting the budgets will be the way to prevents the biggest loses and only playing gambling with the money we can afford. If we can stick to that, we will not used too much money to playing gambling because we realizes about the problems so we don't trying to playing gambling too long.
The only best option if you still want to engage in gambling is to put the intention and purpose for entertainment in gambling and never think about making money because there are so many facts in gambling that will never be able to make you succeed in actually being able to make money, and in fact the opposite will happen where instead of making money but you lose a lot, and the point is that I hope that you or whoever it is to always think and look at things rationally because then you will be able to make decisions that really make sense.