The gist of your comment might be correct, but I think we shouldn't perpetuate the mindset that mid-40s or even 50s is "so old."
In almost all knowledge-worker professions, age and experience is acknowledged as an asset. I think software companies are just starting to realize that, as the "move fast and break things" companies are now weighed down under technical debt and imposing hiring freezes on recent grads and junior engineers.
I feel like I'm in my prime in terms of experience and productivity, and though I may not want to work 70+ hour weeks or chug beers at the office anymore, I'm a considerably better engineer than I was 20 years ago. I think many of us intuitively know that, and we shouldn't let ourselves become victim to self-defeating SV groupthink.