Then you err in that you cannot discern that all this talk about the Catholic Church and the scriptual canon *presupposes* that the Holy Spirit guides the process. The Church has always referred to God as the "primary Author" of Scripture, and the humans who physically wrote it as the "secondary authors." However, unlike Islam, which teaches that Mohammed was nothing more than a dictation machine writing what Allah specifically told him word for word, we say that the humans involved in Scripture really were inspired by God, but wrote in their own way, and in their own style.
Anyway, no one claims that the Catholic Church deserves primary credit for Scripture. God inspired the authors of the books in their writing, and then led the Church in the compilation, discerning, vetting and canonizing process, as well as continuing to lead the Church in the interpretation of Scripture.