Is repeating Econ course a really bad thing?

But If I don’t take AP Econ, I still need to take AP Gov, so that I have social study in my 12th grade. It seems you suggested taking the most difficulty math instead of 2 social studies in the 12th grade. Thank you for your advice.