Oh yeah completely agree. And its frustrating. I built a team from a group that had seem near 100% turnover over the previous 3 years. I have gotten at least 1-2 of them promotions.
I transitioned them to more of a "devops" style roles, pushing hard on Automation, documentation, removing silos and cut a lot of their big time suck things like refreshing non-prod environments down from 1 week to around 45 minutes. Even in the lead up to the pandemic, we saw a WFH demand coming, recognized we lacked the VPN capacity to do so and used FOSS tools to spin up mutliple new VPNs to handle a couple different security boundaries in a matter of hours to allow many to work from home.
We have rebuilt a lot of the "bones" of our infrastructure from day 1, mostly in our virtualization stack and DB's etc. And most of my team had gained some trust in my decision making. Externally we generally get really solid remarks in our ability to support staff/products and our resposniveness.
On the one hand I kind of know why i was snubbed for the job. Im younger (in my 30's) and it was a higher level role. And i have spent the core of my early career moving every 3-4 years as trends change to allow me to rebuild new things rather than "tending sheep" which im sure some saw as more a flight risk in a position where the previous holder was there for 30 years. It also came at a cost as I floated from more virtualization/storage roles to networking and then security centric leaving me more of a "master of none" in the eyes of many.
That notion is a large part of what has kept me here. Im relatively happy and i do feel I probably need to have a few more years of "stability" under my belt. But at what cost. I dont live in a tech center like the bay area, nor do i have any desire to. But that brings its own cultural differences.
The pandemic seems to have changed much of that. I would now be able to stay where I'm happy, in a relatively small town that lacks a "major" tech sector but possibly see a larger bump in compensation and get some more challenging or fulfilling roles offered. My current company, including my boss, seems to think I am here for the long term...I just am not so sure myself.
Again this is totally anecdotal, but I can totally see why others would be thinking the same way.