Risks do appear at the cause of gambling, but the actions of the gambler depends on what led to the reason why he decided to take a risk. Knowing fully well that taking risks while gambling wouldn't be the best option, as his win may not be assured. I can remember going all in while playing board games, sometimes it's worth the risk, but losing is the worse scenerio of moving all in. Regardless of the losses, taking risks while gambling can as well be rewarding. Advising people to follow such strategies wouldn't be the right decision. So, I'd say that players need to understand the condition of whatever action they're to make while gambling. And also get ready to take full responsibility if the money lost is too huge. Those who gamble out of emotions, mostly behave like this, hoping to win big in the process and recover all they've lost in one bet. The few times it works, could lead the player to gamble more and spend lots of money in the process, which yields regrets.
On the other hand I'm pretty sure that people who are desperate to take high risks or even go all in like you did are those who are experiencing emotions because of something or those who are too tempted by the existence of a very large winning opportunity so that it is like a motivation for them to do something that actually if it doesn't suit them in the final session they can't afford it, you have said that defeat is the worst scenario when you go all in and I hope you don't do it again unless it's just for experimenting occasionally. Actually, it all comes back to each individual about whether they understand the concept of how gambling works or not, if indeed they understand the opportunities and risks then feel free to bet with large amounts on the condition that you can be responsible at the end of the session.