This reminds me a lot of pain related to finance and gambling losses, underwent by someone being much riskier than they should have been. You can tell someone about the risks of gambling or very-high risk investing, but in my experience the best teacher by far is for them to experience pain from something gone wrong themselves, which is generally them losing a lot of their hard-earned money, and feeling somewhere between 'terrible' and 'I want to kill myself'.
It's the one type of reinforcement that hurts badly enough that it can correct their future actions to be of more reasonable riskiness. A lot of people that I watch go through the psychological cycle of gambling, whether via casinos, cryptocurrencies, stock options, etc, will often not stop until they're forced to by the pain of a terrible loss. It's unfortunate that this is the most effective method for some things to be taught, but that is part of life.