Why wait to learn from your mistake if you can do something to prevent that from happening. Set a limit on how much to spend and have a self-control. That way, you don't have to suffer on spending the money that you can't live without then will have a regrets later because you didn't gamble in moderation.
Prevention is better than cure , why need to commit mistake when you can do something to prevent that from happening .
gambling is a place where people mostly commit wrong action so preventing is best to conduct .
There are situations when it differs as well, it feels like we are talking about something that is doing much better and it is going to be like "if I know when to stop, then I should stop there" is a simple looking thing but also to some people it's not.
I have said for years that if you want to get rich, all you have to do is put just a small % of your salary every single month into bitcoin and that way you would be able to make some money, and yet some people do not do that and end up buying some shitty memetokens instead and lose all their money. Sometimes a thing that looks too obvious, may not look that obvious to some people and they may end up with a mistake and just end up not doing it the right way at all.