The case described above shows the greed of the investor / trader. The market exists in this form because of fear of loss and greed. If people acted only for rational reasons, the market would be optimal, and the price would always correspond to the fundamental price of the asset.
The best way not to fall into the trap of the market is to strictly follow the trading system. Never deviate from the system during trade, no matter how badly you want.