You are not failing. I know after all the negativity you’ve experienced in your life that is hard to accept but it’s true. You are smart, you are conscientious, you always do your best. Don’t overthink it. Just keep showing up. That’s 99% of keeping a good job.