who found the book of the law in the temple
Josiah According to the Hebrew Bible, in the eighteenth year of his rule, Josiah ordered the High Priest Hilkiah to use the tax money which had been collected over the years to renovate the temple. It was during this time that Hilkiah discovered the Book of the Law. While Hilkiah was clearing the treasure room of the Temple he discovered a scroll described as "the book of the Law"[7] or as "the book of the law of Yahweh by the hand of Moses". The phrase "the book of the Torah" (ספר התורה, sefer ha-torah) in 2 Kings 22:8 is identical to the phrase used in Joshua 1:8 and 8:34 to describe the sacred writings that Joshua had received from Moses. The book is not identified in the text as the Torah and many scholars believe this was either a copy of the Book of Deuteronomy or a text that became a part of Deuteronomy.[14]
Old Testament The first five books – Genesis, Exodus, Leviticus, book of Numbers and Deuteronomy – reached their present form in the Persian period (538–332 BC), and their authors were the elite of exilic returnees who controlled the Temple at that time.[10] The books of Joshua, Judges, Samuel and Kings follow, forming a history of Israel from the Conquest of Canaan to the Siege of Jerusalem c. 587 BC. There is a broad consensus among scholars that these originated as a single work (the so-called "Deuteronomistic history") during the Babylonian exile of the 6th century BC.[11] The two Books of Chronicles cover much the same material as the Pentateuch and Deuteronomistic history and probably date from the 4th century BC.[12] Chronicles, and Ezra–Nehemiah, were probably finished during the 3rd century BC.[13] Catholic and Orthodox Old Testaments contain two (Catholic Old Testament) to four (Orthodox) Books of Maccabees, written in the 2nd and 1st centuries BC.