I got a job because I knew Java, I have worked in the industry for just 8 years.
I have had to learn PHP, Ruby, Javascript, Python, CSS, LESS, SASS, Angluar, React, Zend, Magento, Wordpress (begrudgingly), OpenCart, ZendCart, Prestashop, MySQL, Postgres, NoSQL, Redis, Memcached, PHPUnit, TDD, UDD, Agile, SCRUM, half a dozen variations on the agile process, Laravel, CakePHP, CodeIgnitor and probably many more that just aren't popping into my head right now.
Then a bunch of different programming paradigms mixed in with that.
The reason? It is very rare that anyone works on one, pristinely maintained product small enough to be encapsulated in just a few technologies, for their entire career.
If you're at an agency, you're working with whatever the client walks in the door with, unless you can convince them to do a rewrite in your tools of choice. The work will be varied in quality, scope and complexity.
Old or new, the technology stack is probably a mix match of whatever the architect thought was right at the time, and then whatever the subsequent senior devs from each new agency the project has been at decides should replace it (or more likely, some of it)
If you're not at an agency, you could be at a startup. They're notorious for trendsetting technologies, but not many startups stick around and those that last probably move through a few iterations of their technology stack on their journey to a stable product.
If you're a cog in one of the tech behemoths, you probably have the best bet of staying with one stack. But not even they stand still on technology, and whilst you might be writing in the same language, you will have to interface with the different technologies popping in and out of existence around you.
The reason so many frameworks and technologies come and go isn't just because new things show up and people like shiny things, but old things often stop being maintained. Especially in open source. They don't make it, and so you can't use them anymore.
That's why people were so angry that Angular is getting a rewrite. It's a javascript framework that was supposed to have longevity, because it was backed by Google.
People could build companies upon it and know that it wouldn't change, and they did. Then Angular pulled the rug from underneath them, and there are now codebases made completely redundant and unable to move forward on the back of Angular without rewriting in the new Angular. But they can't even do that, because the new Angular wasn't out yet, but their stuff is already defunct. So they move to the new hotness. React sounds pretty cool right? Let's hope that lasts.
TL:DR;
The real world is messy, you will tumble out of the software development pipeline with SQL tech in your hair, Unit Tests under your nails and the dust of the many fallen JS frameworks in your eyes.