​
I am doubting whether or not I should pursue maths further and would like some advice. I just finished my third year and have just done terribly in my exams to the extent where I am locked out of core classes such as measure theory and probability because my school (ubc) maintains the a grade pre req of B in a course that covers rudin chapter 6 to 9. I started the degree wanting to do grad school, and now I no longer think I am capable of pursuing mathematics any further. It just feels like a collosal waste of money, energy and time to not even get the minimal pay off for this degree. I have no other skills, my grades are terrible, I have no research because professors have much better undergraduates they can work with. Countless weeks of 2 am days, studying for exams so hard that it ruined my health and my relationships just to be locked out of core classes because I had a mental breakdown in one exam is just heartbreaking. I feel as if my efforts has never been rewarded and all I get is stupid advice like "everything will be fine" "just work hard and you will do fine".