I like TimothyH, but he is dead wrong here because he contradicts the teaching of the Church, which is that all Scripture is inspired by God (2 Tim. 3:16) and again that the sacred writers did not speak of themselves but inspired by the Holy Spirit (2 Peter 1:21). Read what the Second Vatican said about the extent of Divine Inspiration.
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)
The council teaches that all of Scripture in all of its parts is inspired by God. Moreover, it teaches that the inspired authors wrote everything that God wanted to be written and that he did not allow anything to be written that he did not want to be written. Thus God is truly the author of every single part of Scripture. But God does not lie, so how can Scripture be false when it speaks historically?
The root of Timothy’s error in the interpretation of Dei Verbum is a badly translated sentence:
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.
The mistake is that salvation is the reason which God revealed truth in the Scripture, not the extent of either truth or inspiration. This is obscured in the English word order and by baffling translation choices such as translating “veritatem” as “that truth,” implying that the text is qualifying the extent of truth rather than what the original text says, which is that the books of Scripture teach the truth firmly, faithfully and without error. The point is that everything the inspired authors asserted is asserted by the Holy Spirit, not just some things.