I once failed a base check, I can only put it down to a bad day at the office, isuppose it could happen to any of us during our careers. Unfortunatley it cost me my job and as you can imagine my confidence too.I even considered quiting aviation for good but after a time of reflection decided to give it another go.I felt i had something to prove so i studied much harder and concentrated on my weak points.I then got another job and sailed through the sim check my confidence restored. Looking back in a strange way I believe that failure made me a better pilot and I have not suffered any lasting harm. Someone once said a failure is only a failure if you do not learn from it.