There were companies that could keep you employed all your working career those companies are on their way to extinction. You need to plan for your next job.
20 years of saving 50%+ of your take-home, and a well diversified portfolio (read: not 100% US equities), and you most likely never need to work another day in your life if you don't want to, even if you never get a stock payday.
Being always ready to jump, in many ways, sucks. But it's what we've got.
I see this with data teams where older developers can be less productive than people who are much younger that have a few years experience working in the Hadoop ecosystem. There is no reason to pay people 50-100% more if they aren’t nearly that much more productive
Unix is well over 20 years old, so is Ethernet, TCP, GCC, and an endless plethora of technologies that stand tall behind the thin curtain of a Node.js installation.
Full-stack nowadays means "I know how to write a Dockerfile and deploy it", but a senior dev might actually understand the full stack. This is of course assuming they have 20 years of experience, not one year of experience * 20.
More interesting, I found, was on 3 separate occasions today when speaking with some tech vendors, they all mentioned "file descriptors". "When installing, you gotta make sure you up your default file descriptors - system defaults won't work". A MySQL tuning guy said "almost no one ever has enough, and almost no one knows about these - you need 60000 minimum, but distros usually default to 1024". And I nodded, because I've hit that issue many times in the last 20+ years, and now recognize symptoms and that's now in my diagnostic bag.
"Senior dev" seems to mean 3+ years of work, and "full stack" seems to mean they know "npm install" and have built create-react-app samples. (I'm tired and cynical, I know).