You searched for: “failure phobia
failure phobia (s) (noun), failure phobias (pl)
A fear of any event, outcome, or situation that resembles or relates to an inadequacy of positive results: People who are suffering from a lack of success, or failure phobia, will do everything possible to avoid such shortcomings.

Failure phobias are generally caused by some influences of unproductive efforts that have resulted from prior situations which had occurred in people's lives that may have happened during childhood, marriage, special projects that were not accomplished, incapability of success in occupational endeavors, etc.