In the long run, the more important factor is whether you are gaining faster than your peers.
The younger ones often lack perspective and breadth and depth, the older ones often stop learning or dramatically slow down.
If you continually study timeless fundamentals, current technology, as well as industry trends, then over time you will naturally lead tend to lead the pack.
A wiser adult once convinced me that the entire theory of capitalism is based on overpaying you when you're young and underpaying you for the next 40 years...
When it comes to programming, I believe some of the most capable programmers outsource the programming to the junior programmers who are still all about the latest technology/acronym and haven't grokked the underlying fundamental patterns/architectures/commonalities/integration. By the time programmers gain enough experience to see that it's all the same, they might be starting to look at starting their true legacy, a family (not code that lives on)
The younger ones often lack perspective and breadth and depth, the older ones often stop learning or dramatically slow down.
If you continually study timeless fundamentals, current technology, as well as industry trends, then over time you will naturally lead tend to lead the pack.