This is complete etiology. But it’s really, I don’t want to work, so I’ll create an awful boss, or I don’t want to acknowledge my incapable self, so I’ll create an awful boss.
Nihlism does sit beneath this view. You try hard and take all success and failure to yourself. Your bad boss fires you and you assess you should try harder. If again you fail you just take on board that you are not able. Of course boss blaming doesn't work either as an ultimate strategy, but the real answer is a mix.