This is not true.
"11. Those divinely revealed realities which are contained and presented in Sacred Scripture have been committed to writing under the inspiration of the Holy Spirit. For holy mother Church, relying on the belief of the Apostles (see John 20:31; 2 Tim. 3:16; 2 Peter 1:19-20, 3:15-16), holds that the books of both the Old and New Testaments in their entirety, with all their parts, are sacred and canonical because 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.(1) In composing the sacred books, God chose men and while employed by Him (2) they made use of their powers and abilities, so that with Him acting in them and through them, (3) they, as true authors, consigned to writing everything and only those things which He wanted. (4)
“Therefore, since everything asserted by the inspired authors or sacred writers must be held to be asserted by the Holy Spirit, it follows that the books of Scripture must be acknowledged as teaching solidly, faithfully and without error that truth which God wanted put into sacred writings (5) for the sake of salvation. Therefore “all Scripture is divinely inspired and has its use for teaching the truth and refuting error, for reformation of manners and discipline in right living, so that the man who belongs to God may be efficient and equipped for good work of every kind” (2 Tim. 3:16-17, Greek text).”
From Dei Verbum