Why do people still view languages as an investment? If you know programming then it's just a different syntax. Focus on learning programming.
All of that is investment, and not all languages pay off that investment.
Figure out an actual real problem you have which you can solve with programming and just implement it in a language you're thinking about learning. This way there's nothing to invest in because you're solving a problem instead of approaching programming as if it was some coursework. It is not.