I had nearly finished school because I was making effort not that bad on that. But there was a law in Germany after the war. You could not make your final examination before 18 so lots of people who were late because of the way had to do it first.
You shouldn't be afraid of failure - when something fails you think 'What did I learn from that experience? I can do better next time.' Then kill that project and move on to the next. Don't get disappointed.