This is something I failed to learn in my corporate career. It doesn’t necessarily matter if you don’t seem to be doing very well, sometimes if you just hang around long enough you’ll get promoted and nobody will care what was happening before.
In my corporate career I have seen many Teflon people, idiots with the right buddies.