Most of what was mentioned is related to the weakness of your trust in Allah
and the more you work on strengthening it, the more confidence you will get.
Whatever you do, do it for the sake of Allah. this way, it would affect you
whether people praise you or criticize you.
Have your full trust in Allah and do your best in everything you do. If you
succeed, it is Allah’s grace but if you fail, then this is from Allah and
Allah would only choose the best for you.