Have you ever had to quit a job because of your anxiety?

I want to quit my job so bad due to my anxiety. I can't seem to focus and every time I make mistakes my anxiety gets worse.