The
Babylonian Talmud, an encyclopedia of Jewish scholarship composed between 200 and 500 CE, states that "Moses wrote his own book and the section concerning
Balaam." The medieval philosopher
Maimonides (c. 1135–1204) enshrined this in his
Thirteen Principles of Faith (a summary of the required beliefs of Judaism), the 8th of which states: "I believe with perfect faith that the entire Torah presently in our possession is the one given to Moses." The rabbis said that God wrote the Torah in heaven before the world was created, in letters of black fire on parchment of white fire, and that Moses received it by divine dictation, writing the exact words spoken to him by God. The rabbis also said the Torah was handed down to later generations: "Moses received the Torah from Sinai and transmitted it to
Joshua, Joshua to the Elders, the Elders to the Prophets, and the Prophets transmitted it to the men of the Great Assembly," who in turn transmitted it to the rabbis. (The Great Assembly, according to Jewish tradition, was called by
Ezra to ensure the accurate transmission of the Torah of Moses, when the Jews returned from exile).
Orthodox rabbis therefore say that thanks to this chain of custodians the Torah of today is identical with that received by Moses, not varying by a single letter. The rabbis were aware that some phrases in the Torah do not seem to fit with divine dictation of a pre-existent text, and this awareness accounts for a second tradition of how the divine word was transmitted: God spoke and Moses remembered the divine words and wrote them down afterwards, together with some explanatory phrases of his own. This explanation is a minority one, but it explains, for example, why every step in the description of the construction of the
Tabernacle is followed by the phrase, "As the Lord commanded Moses." There were also passages which seemed impossible for Moses to have written, notably the account of his own death and burial in last verses of Deuteronomy: the Talmud's answer is that "
Joshua wrote ... [the last] eight verses of the Torah," yet this implied that the Torah was incomplete when Moses handed it to Israel; the explanation of rabbi
Shimon bar Yochai was that the verses were indeed by Moses, but written "with tears in his eyes" as God dictated to him this description of his end. More serious were a few passages which implied an author long after the time of Moses, such as Genesis 12:6, "The Canaanite was then in the land," implying a time when the
Canaanites were no longer in the land.
Abraham ibn Ezra (c. 1092–1167) made a celebrated comment on this phrase, writing that it contains "a great secret, and the person who understands it will keep quiet;" the 14th century rabbi
Joseph ben Samuel Bonfils said that Moses had written this and similar passages, as he was a prophet, but that it made no difference whether they were by him or some later prophet, "since the words of all of them are true and inspired." Finally, there were a few passages which implied that Moses had used pre-existing sources: a section of the
Book of Numbers (Numbers 10:35–36) is surrounded in the
Hebrew by
inverted nuns (the equivalent of brackets) which the rabbis said indicated that these verses were from a separate book, the Book of
Eldad and Medad. Biblical scholars today agree almost unanimously that the Torah is the work of many authors over many centuries. A major factor in this rejection of the tradition of Mosaic authorship was the development of the
documentary hypothesis by
Julius Wellhausen in the 19th century, which understood the Pentateuch as a composite work made up of four "sources", or documents, compiled over centuries in a process that was not concluded until long after Moses' death. The documentary hypothesis aroused understandable opposition from traditional scholars. One of the most significant was
David Zvi Hoffmann (1843–1921), who attempted to defend Mosaic authorship by demonstrating that the sources identified by the documentary hypothesis were, in fact, pre-exilic; if this were proven, he believed, then the hypothesis itself was dis-proven. The most he would concede to the proponents of the hypothesis was that Moses may have written various scrolls over his career and that these may have been collated and united before his death. Another Jewish scholar,
David Weiss Halivni (1927–2022), developed a theory of ''Chate'u Yisrael'', literally, "Israel has sinned", which states that the originally monotheistic
Israelites adopted pagan practices from their neighbours and neglected the Torah of Moses, with the result that it became "blemished and maculated;" only on the return from
Babylon did the people once again accept the Torah, which was then recompiled and edited by
Ezra as evidenced in
Ezra–Nehemiah and
Talmudic and
Midrashic sources, which indicate that Ezra played a role in editing the Torah. He further states that while the text of the Torah was corrupted,
oral tradition was preserved intact, which is why the Oral Law appears to contradict the Biblical text in certain details.
Menachem Mendel Kasher (1895–1983), taking a different approach, accepted the documentary hypothesis and adapted it to the Mosaic tradition, saying certain traditions of the
Oral Torah show Moses quoting Genesis prior to the
epiphany at
Sinai; based on a number of Bible verses and rabbinic statements, and suggesting that Moses made use of documents authored by the
Patriarchs when redacting that book. This view is supported by some rabbinical sources and medieval commentaries which recognize that the Torah incorporates written texts and divine messages from before and after the time of Moses. ==Christian tradition==