Ephesians 3:4-6, "there is one body and one Spirit, just as you were called to the one hope of your calling, one Lord, one faith, one baptism, one God and Father of all, who is above all and through all and in all."
From the CCC
II. Inspiration and Truth of Sacred Scripture
105 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."69
"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."70
106 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."71
107 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."72
108 Still, the Christian faith is not a "religion of the book". Christianity is the religion of the "Word" of God, "not a written and mute word, but incarnate and living".73
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."74
Both CC and nCCs believe that scripture is the inspired word of God and that the Holy Spirit guides us into all the truth.
However there are many disagreements among Christians as to our understanding of scripture and we all claim that our particular understanding of scripture is from the Holy Spirit.
Paul says, "Now I appeal to you, brothers and sisters, by the name of our Lord Jesus Christ, that all of you be in agreement and that there be no divisions among you, but that you be united in the same mind and the same purpose."
So is there any other mechanism that God has given us to discern whose understanding is correct so that we may be united in the same mind and the same purpose with no divisions among us?