Sorry Protestants. It was infallible Petrine authority that was responsible for assembling the writings of God while the same Petrine authority rejected other writings. Quote all you want, you are quoting from a bible put together with the infallible authority granted to Peter and his successors an authority solely given to His ONE Church and one that did not suddenly vanish eleven centuries after the Synod of Rome in AD 382
Well, there is fallacy to start off. First of all that "infallible" part is simple blasphemy. Second the whole pope lineage thing is made up from spurious writings and made up stories. It starts with the first in line from Peter. This Linus guy can't even be proven to be a church leader anywhere historically. Third, there was no single head of any group of churches until at least the third century.
God entrusted the Jews with His word. Jesus chose Jews as His disciples. God preserved His word for all generations as He promised. For some group of fallible humans to attempt to take credit is akin to taking glory from God. That same "magisterium" you claim to be infallible incorporated paganism which God clearly condemned and called whoring around with other gods. Israel was punished often for exactly that. Catholics should take a hint from history.