I agree with the idea that some goals are more important than others.
A goal of performance excellence, for example, may be less important than a goal of survival.
As human beings, we actually don't get to choose our fundamental goals. Nature gives us those. It's hard to put ourselves in danger deliberately, because we have innate goals to survive, thrive, and connect with others. That's why it feels so bad when we believe that we are not achieving these goals.
Our fundamental goals are not to deliver perfect performance at all costs, neither are they to connect with others at a detriment to our values, purpose, and true selves.
Our fundamental goal is not to deliver on our purpose by a particular deadline or to never fail at anything at all.
Some of these goals are secondary, important, and ideally achieved but not fundamental.
When you cross the fundamentals of survival and a general sense of wellbeing with secondary stuff, when you elevate your deadlines into "end of the world-lines" you will suffer a great deal of stress.
Take a moment, have faith in your humanness, remember that your fundamental goals are often already met, and pick up on the secondary stuff from there.