I was a very good math student in high school. I was in the national level Olympiad team. Now I'm studying at the best college in my country with really good mathematicians.
I've all almost all of my confidence in the pursuit of finding rigorous proofs in abstract algebra. As a result I no longer have an open to come up with new ideas, worrying that it may not be rigorous enough and hence restricting myself to the usual methods. This was shocking visible to be in a quiz today where i was given a nil-potent element (rm = 0 in a ring structure) and I didn't even see the fact of higher power of r greater than m being equal to 0. This was completely shocking to me as I always had a systemic approach to problems. Also, the terms such as quotient rings haven't given an intuition picture even though my peers get it so easy.
Problems from M.Artin which merely have any logical sophistication with merely a few lines of proof is giving me such a pain. I feel extremely bad when I look up the answer after pondering over it and seeing how trivial it is. While my batchmates, they recite the proof orally. It's even more frustrating when they say it's trivial orally while I can't solve it on paper.
Is my math just no good anymore?
Who cares about your batchmates and what they can do? Stop comparing yourself to them and focus on the material.
You don't have to compete with anybody but yourself! I encourage you to make mathematics personal. Internalize mathematics in your own way, and continue with math because it gives you joy! Soon enough, you'll be able to recite proofs orally.
Also, try to avoid looking up answers if you can. Study for $45-60$ minutes and then, if you can't figure something out, read a book or watch netflix and come back to it. You have to give your subconscious a chance to suss stuff out.
Right now, you're in a competitive environment. It can feel frustrating when others understand something a lot faster than you do. Try to remind yourself what the frustration can do to you though--it can disrupt the way you perceive your own abilities! Additionally, this frustration can turn into anxiety which can actually inhibit your learning to an uncomfortable degree.
Focus on your basic needs: sleep, diet, exercise, and meditation. You're already on the right track by asking for feedback here. I'm sure you'll make for a wonderful mathematician.