I think everyone goes through this to some degree in their life.
You seem to have a mature attitude towards identifying the anxiety created and may find help in chatting to someone to help with ways of managing it.
You will get though this and you certainly aren’t alone in your thoughts.
Take care and good on you for having the courage to admit that we’re not always perfect! A lot of our colleagues could learn a lot from that!!