It’s a very cultural thing. If you’re very experienced and still “only” a senior engineer you can almost sense people wondering
“Why are you still here ?”
Rachel Kroll explains it well here
https://rachelbythebay.com/w/2018/12/29/age/
“ This particular example was about older folks in tech.
As I remember it, the story goes like this: you're supposed to get into this business, get your money, and get out, meaning retire. You sell all your stuff and travel the world and write posts on Medium. You know, the whole pyramid thing, right?
Therefore, if you are still here, and are visibly old, something must be going on. They seem to boil it down to two things.
The first possibility is that the person is a badass. They are one of those people who already made their fortune and only hangs around at the job because they feel like it. They don't have to be there.
The other possibility is that the person is the exact opposite of a badass, and has managed to not cash out despite being in the biz for a very long time. They've made no money, may be living paycheck to paycheck, and really need the job. Basically, the fact they're not "at the top" despite their age means they are crap.”