Framing a career in software development around programming languages is like framing a career in mechanical engineering around CAD tools. It's a key component for sure but by the end of your career which particular tools you used fades into a footnote.
Also the languages changing fast thing isn't really correct, Java, C++, C#, Javascript, PHP have been around a long time and still going strong, you could do your entire career in one of these.