It does take a certain amount of agility to keep up with what's popular, but sometimes you get lucky with the skills you pick. Python, for me, has lasted quite a while. I picked that up later in my career after starting out with C and Perl.
Perhaps you're just burned out? 9 years at one place could easily leave you in a rut. Or have you looked around to see if there is a company that might inspire you again?
I'm about a year into working with AWS stacks, so maybe I can switch when I get more familiar with that. But there aren't many good IT jobs in the area and my wife won't move.
Basically, I can't even imagine a future. I can't see myself tolerating this job for 9 more years. I don't see any jobs in the area that I would be interested in, or would pay as much (I support my family).
But most IT jobs are remote now anyway. Look for those opportunities. Don't be scare.
What I have seen happen in the last year is the following:
1. Covid forced most people to work remotely, at least at tech companies. 2. The world didn't end for those companies, so now many more are amenable to remote workers. 3. Even the ones who aren't happy can't really force everyone to come back to the office, so they're still remote friendly.
I don't know how long this situation will last, but for now it's a good time to be a remote worker.
This is not a bad attitude. It's perfectly rational not to waste time on the framework or tool of the month.
It's the industry's fault for generating endless unnecessary churn.
We can fight it by focusing on understanding core principles and concepts (that changed very little since 1970) and ignoring the noise.