I want to remind you that nothing matters.
Stop stressing. Nobody will ask you what you got in Advanced Functions in 20 years. Heck, nobody will even remember your name in 150 years. My math teacher literally went to lakehead (easiest school to get into in ontario) and majored in geography and now makes 105k/year + plays golf on weekends. Don't worry too much, you'll live a comfortable life and then you'll die and nobody will ever care about your existence again. Live, laugh, love. Just enjoy life, or you'll regret it later. Because trust me bro, it REALLY doesn't matter what your peak net worth was. We all start at 0 and end at 0, no displacement. The goal of life is to have fun and learn. Not to be the richest person on earth. Let's start 2025 with a little less stress, please.
P.S. No diss to lakehead. it's just a convenient example.