Often people think they have “failed” if they haven't mastered the language they are learning. There is no such thing as failure in language learning. After all, what is the purpose of language?
Language is a tool to get a message across. Don't get caught up with being absolutely perfect. You're not in school anymore. The locals in Mexico or China don't care if you make a few mistakes. By any yardstick, you've succeeded if you can order dinner in the target language. Be proud.
If all you're interested in doing is scoring an “A “, then by all means go do a technical language course at university.
If however you're keen to just chat with locals and don't mind laughing at yourself once in a while, just embrace the language learning journey. You'll discover far more than a new language along the way.