It is a management failure 100%. It doesn’t matter how good you engineers are when they are punished for doing good work and rewarded for shipping garbage.
Part of being good means pushing back too and managing upwards. Seems like they hire only those that won’t. Thus the management failure causes culture causing mediocrity.