This is really bad career advice. There are certain situations where it makes sense to rock the boat, situations where it doesn't matter, and situations where it'll fuck you over
This rule that you've come up with seems really overgeneralized. If I disagree with someone or someone disagrees with me, we reach consensus. If someone disagrees with me instead of just nodding at everything, it makes it easier to form a mental picture of what that person actually knows. Someone who just agrees with everything has something to hide
This type of attitude is self perpetuating and creates an unproductive and political work culture