Over the last twenty years, I have used over a dozen languages professionally, from C to Common Lisp, from Java to Python, from C++ to Typescript.
I particularly agree with the point at the end about legacy codebases, many of which are powered by PHP and JS:
A legacy codebase means that the product is performing well. It means that I can often make immediate and impactful improvements.
For me, nothing comes close to the pleasure of improving a product with many users.