You are afraid of failure because the fear of it has been ingrained in you from a small age like with most people. So each day you get up and try to put yourself down by saying these things in your head so you are less dissapointed IF you happen to fail or not do good enough at something. These are restrictions that you and no one else is placing on you. The only person that can lift them is you. Life gets harder from here on for you and you should be aware of this.
Honestly life is a grind and you need to get used to it. You're still young enough that if you continue the way you're thinking, 10 years from now nothing will have changed in the way to deal with your day to day. You will have less people that trust and believe in you in that time and it will just get harder to cope with your insecurities.
Listen to your parents because they are not saying this to preasure you, but because they want you to have an easy life one day. I don't know them but generally most parents want you to succeed not fail in life.
And from experience I can say this. It's so much worse to have done nothing and not succeeded, than to have given your all and failed. Failure is the mother of success, you learn from it and it shouldn't be feared.
TL;DR - Give it your all so you know even if you failed you tried your best