Indeed they are; enter Christ to prevent his Church from error.
He told his disciples to teach the world all things that he had commanded them and promised to be with them all days even to the end of the world, how could they go wrong?
I haven’t seen a scriptural justification for believing that the apostles themselves — much less popes, pastors and priest 2000 years thereafter — were doctrinally infallible into perpetuity.
I recall extremely limited circumstances where infallibiliy was temporarily granted. I will acknowledge that the apostles themselves were likely right almost all of the time. However, I do not believe Peter or Paul were infallible ... so I certainly do not believe anyone today is infallible.
>> how could they go wrong?
Sin. Sin separates each of us from Christ. We are forgiven, but are still fallen beings and are unable to fully accept the blessings He offers.
SnakeDoc