First, the feeling is real
Green turning red hurts.
It hurts more than a trade that was red the whole way — because that was something you already had in your hand.
So banking a small profit is a reasonable reaction. Reasonable enough that you do it every single time.
The problem is not that you left early. The problem is that you decided whether to leave in the moment.