
You have a goal.
Firstly, you determine whether the goal is worth achieving, whether it's something worth dedicating even a little bit of your time or resources to.
Secondly, you determine whether the goal is in fact achievable. Often, problems might seem unsolvable and goals unreachable, but usually your gut feel (which is simply a mosaic of everything you know) will convince you either way if the obvious facts don't point in a specific direction.
Once you've convinced yourself that things are achievable - and viably so - you make a decision. Not necessarily a decision to achieve, but a decision to attempt to.
Next, you determine what's needed to get to the point you want to be. Usually, this involves a bit of research, sometimes breaking down the challenge into smaller chunks. In most cases, there will be a desirable end-result which can only be accomplished through a series of smaller steps. In some cases, however, the end-result will be vague, definable only by gut feel.
You formulate a plan with which to address every step of the challenge. You think about the plan, consider the possible outcome of each and every element carefully. In all likelihood, you do a bit of fine-tuning to each step after you've considered the plan in its entirety.
You implement.
You fail.
You fine-tune again, trying to avoid the previous mistake.
You implement.
You fail.
You fine-tune with consideration towards all previous mistakes.
(Repeat n times)
You continue to fine-tune, continue to implement, convinced that achievement is possible.
You continue to fail.
You start to doubt whether achievement is possible, but when reminded by achievement around you, convince yourself that you're being silly.
You fail again, and again.
You start to doubt yourself.
You re-evaluate whether achievement is what you desire, convince yourself that it is, and continue to implement.
You fail.
You consider. Not just the goal, but the viability, what you think is needed to reach it, what you've planned to do, how you've planned to do it, whether you've implemented your plan correctly, whether your fine-tuning has been correctly made, whether it's been made in the correct direction. You decide to take yet another different approach.
You implement.
You fail again.
You can't understand how every logical step you've taken is not having the desired effect. How every adjustment, every attempt to think laterally is being met with a negative result.
You cannot bear the thought of failure anymore.
In a moment of desperation, you take an approach which does not fit with your principles, which does not sit comfortably with your sense of self, which does not feel like it would be something you would ever recommend to anyone, which feels wrong to the core. But you take it anyway, because you cannot bear the thought of failure.
You fail again. This time not because your implementation or plan is flawed, but because your approach is fundamentally wrong. Of course, you know this; but you took it anyway, and you're painfully aware of this fact. You realise, with utter disdain, that you gave away all sense of what is right simply because you couldn't bear the thought of failure. You realise that you have failed yourself.
Every single failure except the last is acceptable.