Yes and no.
First of all we believe that Church teachings are inerrant and therefore “The Church” cannot be corrupt. Members{/u] of the Church can be corrupt and cause problems but that is fundementally different than The Church being corrupt.
The passage you refer to speaks to a fundemental issue of obedience to legitimate authority. Under the Old covenent that Authority resided in those who “sit on the seat of Moses”. Under the New covenent the authority resides in the seat of Peter.
Now as to obedience, even to something we (personally) don’t understand or think might be wrong, I use an analogy of a King and Steward…
A Young King leaves on a long journey. He places in charge a trusted Steward. This Steward rules the kingdom wisely for a time bu then begins to oppress the people and causes suffering to the kings subjects. These subjects do not rebel against the steward because they are loyal to the king and to his appointed steward.
Finally the King returns and discovers the sins of the Steward and the sufferings of the people. Who will the King punish, the people and the low ranking officials who were loyal to the King through His steward? Or will he punish the corrupt steward and restore/forgive those who only obeyed the legitimate authority?
Peace
JamesYou are leaving one thing out of your analogy. The king, before leaving, was to leave a wise advisor to help the young steward. Jesus promised that He would send the Holy Spirit to guide the Church and that the Gates of Hell would not prevail.
Now, I understand that this doesn’t prevent wicked and corrupt people from being leaders in the Church. But it would prevent false teachings from coming out of the Church.