Hope, confidence and grit.
You need these three.
Before you start anything start it with the hope that you’ll do whatever you set out to do.
Acknowledge that there might be obstacles enroute.
Have the confidence that you either know or will find help to get through to the other side.
And when and if you fail, be gritty enough and keep going until you reach the end state you desire.