“…If you abide in My word, then you are truly disciples of Mine; and you shall know the truth, and the truth shall make you free (John 8:31, 32).”
“It was by the apostolic Tradition that the Church discerned which writings are to be included in the list of the sacred books. This complete list is called the canon of Scripture. It includes 46 books for the Old Testament and 27 for the New.” (CCC* #120)
The Catholic and Apostolic Church has always taught and continues to teach:
“God is the author of Sacred Scripture. The divinely revealed realities, which are contained and presented in the text of Sacred Scripture, have been written down under the inspiration of the Holy Spirit.
“For Holy Mother Church, relying on the faith of the apostolic age, accepts as sacred and canonical the books of the Old and the New Testaments, whole and entire, with all their parts, on the grounds that, written under the inspiration of the Holy Spirit, they have God as their Author, and have been handed on as such to the Church Herself.
“God inspired the human authors of the sacred books. To compose the sacred books, God chose certain men who, all the while He employed them in this task, made full use of their own faculties and powers so that, though He acted in them and by them, it was as true authors that they consigned to writing whatever He wanted written, and no more.
“The inspired books teach the truth. Since therefore all that the inspired authors or sacred writers affirm should be regarded as affirmed by the Holy Spirit, we must acknowledge that the books of Scripture firmly, faithfully, and without error teach that truth which God, for the sake of our salvation, wished to see confided to the Sacred Scriptures.
“Still, the Christian faith is not a “religion of the book.” Christianity is the religion of the “Word” of God, a word which is “not a written and mute word, but the Word which is Incarnate and Living.” If the Scriptures are not to remain a dead letter, Christ, the eternal Word of the living God, must, through the Holy Spirit, “open [our] minds to understand the Scriptures (Lk 24:45).” (CCC #105-108)
* CCC: Catechism of the Catholic Church, #= paragraph numbers.