“I am afraid that I will fail”
This is sad thinking.
Sad because it prevents you from taking actions.
If you are “thinking” that you’ll fail, it is most likely that you will.
A better thought is, “What will I learn if I fail? Is the cost this learning worth?”
Failure is not the enemy. Inaction is.