Two years of foreign language. Is this a terrible decision?

I feel like you should be fine not taking more foreign language as long as you are replacing it with another challenging class (like an AP!)