It is really simple...you gave me 2 verses and I explained what they meant in context of the Scripture. Just for clarifications sake, I was raised a Roman Catholic,went to Parochial school for 12 yrs and alternately wanted to be first a priest and then a Christian Brother(teaching order who also make the Brandy) I’ve done my due diligence about the “church”. You could try “the Two Babylons” or the blockbuster by Father Malachi Martin. I’ve done my penance,brother!
Aha, I see.
Mt 16:18 is in part about St. Peter and his primacy, but it also is about Christ’s intention to build His Church which cannot go wrong. So even if for some reason the See of Peter were to go vacant (there are people who are otherwise quite Catholics who believe that), the prophesy about Christ’s Church still stands. Further, St. Peter has the intention to perpetuate his “tablernacle” (2 Peter 1:14-15), and he had the means of Apostolic succession just like any other apostle (see Titus and both Timothys).
The point of the Church being infallible is underscored in how St. Paul calls her the “pillar and ground of truth”. This is, of course, consistent with Jesus being in person the truth.