The problem is that you'll fall off the technical curve eventually. It's almost inevitable. Even if you read and study every day and keep up with every bit of technical meta, your brain will slowly turn to goo and you'll find it hard to stay ahead of younger engineers purely on technical competence alone. At a certain point you need to develop some form of leadership skills so you can turn your experience into a multiplier.
My hope is to stumble into some role that is common today but will be niche in the future, like cobolt devs today.
I'll be some kind of java streams expert in 30 years or something lol