Sounds like spoken by my current boss. During a 1on1, he took up the topic of me apologizing to the team for something I overlooked. He said, in his exact words, "when things go wrong, a smart leader should blame their team and when things are in their favor they should take credit for that. That's how you grow as a leader in organization, in this corporate ladder. You should learn. Long way to go".
I was like, "no way he said that!". I trusted the wrong person and joined this organization! (Sorry about the rant)