This and not closing out is the reason why most fail. But here lies the quandary, the losers finance the winners, & it’s a negative sum game (spread/commissions/charges). The second quandary, take a stock mostly going up, technically every trader could be a winner.
There is no definitive answer, accept perhaps work with your emotions rather than try and squash them.
On the trade side, if you have the math right, and buy/sell to increase your size whilst increasing your differential, it becomes a game of structure, math & curiosity. That has changed my game.
I used to overtrade, and when I asked the same subject in a forum, everyone's advice was to take some time off and try to avoid thinking about trading.It somewhat worked for me. give it a shot; perhaps it will work for you as well.