I failed 3u math in both years 11 and 12. It didn't stop me from going to university and undertaking advanced mathematics courses and achieving what I wants to.
High school is just a small stepping store in your life. If you don't do as well as you wanted to then that is okay as there are lots...