Perfectionism, avoidance and other problems often have very traceable roots in the past, and there are therapy tools like EMDR[1] that help to fix or mitigate the root causes.
In my experience, it is not really possible to fix serious emotional trauma with affirmations, and deeper emotional work is required to start seeing your inner critic (and other trauma symptoms) shrink.
The best way to start working on such problems as inner critic is to find a licensed mental health specialist.
0 - http://www.pete-walker.com/shrinkingInnerCritic.htm and similar research on CPTSD
1 - https://cptsdfoundation.org/2020/02/17/emdr-and-trauma-what-...