Fear of failure?

Is it fear of failure, learned helplessness, or self sabotage if I am afraid of even trying because I know someone like me will never succeed? If I’m gonna fail anyway, why try? What’s the point? I want to understand why someone would think like this and how to fix it