The Torah (first five Books) contains all the "thus saith the Lord" quotes; Words and commands from YHWH (Yahweh) Himself, who actually spoke to His prophets; therefore, the Torah was divinely inspired. YHWH personally told Moshe (Moses) to write down everything He told him:
Exodus 24: 1 To Moshe [ADONAI] said, "Come up to ADONAI - you, Aharon, Nadav, Avihu, and seventy of the leaders of Isra'el. Prostrate yourselves at a distance, 2 while Moshe alone approaches ADONAI -the others are not to approach, and the people are not to go up with him." 3 Moshe came and told the people everything ADONAI had said, including all the rulings. The people answered with one voice: "We will obey every word ADONAI has spoken." 4 Moshe wrote down all the words of ADONAI. He rose early in the morning, built an altar at the base of the mountain and set upright twelve large stones to represent the twelve tribes of Isra'el. 5 He sent the young men of the people of Isra'el to offer burnt offerings and sacrifice peace offerings of oxen to ADONAI. 6 Moshe took half of the blood and put it in basins; the other half of the blood he splashed against the altar. 7 Then he took the book of the covenant and read it aloud, so that the people could hear; and they responded, "Everything that ADONAI has spoken, we will do and obey."
However, the entire Bible reports instances when YHWH spoke with an audible voice, which means while the Torah was divinely inspired, YHWH's Grand Plan kept unfolding - and this was outlined in both the Tanakh ("Old Testament) and B'rit Chadasha ("New Testament) - which in reality was not "new" but rather renewed.
Exodus 33:11 tells us that He spoke to Moses "face to face" (see, also, Numbers 12:7, Deuteronomy 34:10). We also read, for example, that he spoke to Joshua (Joshua 1:1) and the prophet Gad (1 Chronicles 21:9). Samuel may have heard an audible voice in 1 Samuel 3:1-14. A voice from the heavens was heard when Yeshua was baptized by John (Matthew 3:17, Mark 1:11, Luke 3:22) and from a cloud that appeared when Yeshua was transfigured on a high mountain (Matthew 17:5, Mark 9:7). And Paul and his traveling companions heard his voice when Paul was struck blind on his way to Damascus to murder Messianic believers (Acts 9:4).
YHWH also spoke TO and THROUGH His chosen prophets who were killed if every word/prophecy they spoke didn't come true.
The Bible offers the only written message from YHWH to the world. It contains the record of His commands and acts since the beginning of time and represents the most basic and most reliable communication from Elohim Himself. It also provides the line against which all other words or messages should be tested and measured to confirm that they agree with it or, at least, do not conflict with it.
The Tanach (which starts with Genesis and ends with 2 Chronicles) was YHWH's way of providing us a history of Himself and His people which shows His constant grace and mercy for a disobedient humanity who keep insisting on doing things their way. "His people" are comprised of the Patriarchs Abraham, Isaac and Jacob and all their descendants and everyone who has chosen YHWH as their God.
PLEASE NOTE: Many are under the false impression that "the Jews" are God's Chosen, but this is not exactly true. Yes, the Tribe of Judah was chosen to take Torah into the world and safeguard and preserve it (Genesis 49:10, Micah 4:2); and, let's not forget: YHWH caused Yeshua to be born into the Tribe of Yehudah/Judah. (JUDAISM took its cue from the Word of YHWH which has been around for as long as man has been alive - or at least 6,000 years. Believing Jews are Torah observant as YHWH instructed!)
But the term "Jews" has simply become a blanket description for all Israelites. In actuality, only someone born into the Tribe of Judah can claim they are Jews. The fact is, there were no Jews until after Jacob begat the Tribe of Yehudah (Judah - Genesis 29:35; Matthew 1:1-2). The Tanach (OT) shows that His Chosen were called Hebrews (Genesis 14:13). (See the lives of Abraham, Isaac and Jacob in the Tanach).
It is important to note that, Scripture read in context reveals that EVERYONE, beginning with Cain and Abel, was Torah observant - which negates the Christian claim that they don't have to obey God's Law! ANYONE who believes in the God of Abraham, Isaac and Jacob is to be Torah observant, and God even said so FOUR TIMES IN A ROW in Numbers 15:13-16! YHWH (Yahweh) chose Abraham because He wanted to (Deut. 7:6-8) and He reiterated this in Jeremiah 31:32 by making His New Covenant with the Houses of Israel and Judah - both of whom were Torah observant.
THE GOOD NEWS IS, believing Gentiles who are grafted into the Olive Tree (Israel) automatically become part of Israel. They are "ONE" in Messiah - which doesn't mean they are Jews, BUT they can now call themselves Hebrews (the word "Hebrew" means "To cross over" - which is what Abraham did when he accepted YHWH as his God, and went to live in the land God commanded him to go to in Genesis 12). Being a "Hebrew" or a "Torah observant Believer" means you have accepted YHWH and His Divine Messiah and become Torah observant believers. Remember - same God, same rules!
The Brit Chadasha is a continuation of YHWH's "God-breathed" mitzvot/words wherein we see many Tanach prophecies unfold; especially the Messianic prophecies outlined in Isaiah 53 and elsewhere!
So, while the Torah contains the ONLY actual Words/Divine Instructions in Righteousness from YHWH, it is wrong to say that the NT is not divinely inspired - because, without it, we would have NO knowledge of Yeshua and His ministry and teachings while He walked the earth. After all, Yeshua was "Immanuel" (God with us); our divine Messiah who performed miracles and spoke many awesome things to teach YHWH's people how to live holy, set apart lives!
YHWH needed us to see "the whole picture" and that picture starts in Genesis and ends with Revelation! It is the rest of the story!