TRUE ACCEPTANCE THAT THERE WILL BE LOSSES ON YOUR WAY TO CONSISTENCY WILL GREATLY DECREASE THE HURT WHEN THEY EVENTUALLY COME.
Losses are inevitable. They will happen, it is a side effect of trading that you can’t shy away from.
Its not about being completely perfect, because you are always going to take losses. But if you have an edge in the market (a good risk management system, good strategy & healthy psychology) then you will remain consistently profitable despite taking losses.