"When the Spirit of truth comes, he will guide you into all the truth. For he will not speak on his own, but he will speak whatever he hears." -Jn 16:13
"You are Peter, and on this rock I will build my church; and the gates of Hades shall not prevail against it." -Mt 16:18
The universal Church cannot fall into universal error.
Your heresy posits it did, losing the gospel of sola fide for centuries.
It is you that is not in the Church and it's precisely why you attack her as falling into universal error to justify your schism and heresy of the reformation, which is all the ancient Gnostic and Nestorian heresies combined.
Chapter and verse where you see a promise that the church would be infallible?