I would hope the fact that you failed to note that Scripture is infallible is merely an oversight.
However, *we* don't all agree that the church is infallible.
That is another opinion and only an opinion.
So, please explain how an infallible church can elect an idiot for a pope.
The church hierarchy is not infallible...there are bad bishops, maybe Cardinals and certainly Popes....however, even the "idiots" who were elected Pope could never err, nor did they, in official pronouncements concerning faith and morals....