I don't get this TBH. I work with younger coworkers and I recognize them falling for similar traps I did years/decade ago.
I don't see my coworkers getting less competent, I'm just aware that I did way more stupid shit than they did and have the benefit of experience.