I was watching a ted talk, and I agree with everything that person said. You have to believe in whatever you're doing to suceed in it. Because road bumps are inevitable and giving up will get you no where. Getting frustrated is not an excuse.
That why I couldn't do econ but love math. With econ, when it got eveb a little bit hard, I was like fucc it. But with math, I will cry over my real analysis homework (I've done it a couple of times last semester), but I never decreased my effort in that class even a little.
Also, my friend told me something that kind of reframed my thoughts (he's a pure math and physics double major and will be graduating in 3 years). I was on the verge of tears with that class and he just told me "it builds character." IDK why, but every time I go though stuff academically, I just say that to myself and my frustration goes away and I start to work harder.