Frustration, disappointment, failure and often, even success, can invite our inner voice to start questioning who we are, what we are doing.
Am I just grinding out the work I have been assigned or am I doing something meaningful? Something that will make a difference for me? For the world? (that is never too big a question to ask)
Self talk and self doubt usually leads to thoughts of changing something. Snap decisions based on an emotional experience, even a stretch of bad days and experiences are seldom grounded.
One question that may help is if you are thinking of running, are you running from something or running to something?
Change can sometimes be the right answer but make sure you are asking the right questions. If you are, then leap. You may grow into the next stage of your personal greatness.