“...And the gates of hell shall not prevail against it.”
Perhaps you could study the period before the reformation?
Human error isn’t going to break it.
The Vatican can vanish tomorrow, and the entire Catholic Church can fall apart due to scandal, and Jesus' church will be wounded but will recover.