Fearing a negative outcome even when you achieve something could be because of an unattended psychological issue. Understanding what led to this can help you unfold the root cause of the problem. This can be the way you were raised, social conditioning, inbuilt belief system, etc. You can start by introspecting the factors that led to this and writing it down. Therapist can guide you to counter such thoughts and feelings.