Hi,
I am seeing myself a couple of years ago, overwhelmed by job and my chances to failure. Thank you for sharing!
Maybe what I am telling you is not useful, but I will share it just in case. Please, take into account that it is just my experience and that I am far from being cured. I am work in progress

You could try this: apply and eventually, if you get the job, try working and if you fail at the end of the day, don't take it too seriously, like an exercise.
I try to think we are not born invincible, we are vulnerable by nature, little creatures that are just a bit more intelligent than monkeys. Just a bit because despite all our reasoning we are mostly dominated by impulses, not much of our behavior is really under our control. We are just tiny particles of the universe. Our lives are like flashes, we should not take ourselves so seriously. Getting a job, losing a job, buying a car, etc , etc, are just instants of our lives. We are just trying here, all the time.
I try to think like this, I try to discipline my mind each time regrets or fear poison my mind.
It is not easy but it is working so far.
I send you a big hug