Joshua Was Written Into Creation Before He Was Born
Long before Joshua ever crossed the Jordan River, his name was encoded into the first day of creation. The rabbis who discovered this pattern were not reading poetry; they were reading history.
Table of Contents
Before Joshua ben Nun ever lifted a sword, before he set foot in Canaan, before Moses placed his hands on his successor's head in the wilderness, the rabbis insisted that Joshua's leadership was already written into the fabric of the universe. Not promised. Not foreshadowed. Written. Encoded into the very words of Genesis, chapter one, the day the lights were switched on.
That is the startling claim preserved in Midrash Rabbah, the great anthology of rabbinic interpretation compiled in the Land of Israel between the 4th and 6th centuries CE. The rabbis were not speaking loosely. They believed that every word of the Torah carried hidden weight, and that Genesis, if read with enough precision, was a preview of everything that would ever happen to Israel.
The Five Lights of the First Day
Start with light itself. In the creation account, the word "light" appears five times in the opening passages of Genesis. Five times. The rabbis of Bereshit Rabbah, a central collection in the Midrash Rabbah corpus, pointed out that the Torah itself also has five books. Coincidence? In rabbinic thinking, there are no coincidences in a divine text. Each of the five occurrences of "light" in Genesis corresponds to one of the five books of Moses. As Five Lights of Creation and the Five Books of Torah teaches, the structure of the cosmos and the structure of the Torah are a single unified pattern.
But the rabbis pressed further. If creation was encoded with the Torah, and the Torah describes the future of Israel, then specific figures in that future must also appear inside the creation account. Not their names, perhaps, but their roles. The question was: where does Joshua appear?
Rabbi Ilfa's Reading of Genesis 1:18
Rabbi Ilfa, cited in Bereshit Rabbah 6:9, turned his attention to a single verse that most readers pass over: "And to rule during the day and at night, and to divide between the light and the darkness, and God saw that it was good" (Genesis 1:18). The verse seems to be about the sun and moon. Ilfa read it differently. He saw in "the light" and "the darkness" a coded reference to Moses and Joshua. Moses was the great luminary who illuminated Israel in the wilderness. Joshua was the leader who took Israel through the darkness of conquest and settled them in the land. As Ilfa's reading in Bereshit Rabbah preserves, the very first appointment of light over darkness was a foretelling of Joshua's role.
This was not an isolated reading. Bereshit Rabbah 97:3 connects Joshua's appointment to the blessing Jacob gave the tribes, and Bamidbar Rabbah 23:14 links Joshua's six cities of refuge to the six days of creation. The rabbis were mapping Joshua's career onto the structure of the universe itself, and they found the fit remarkably precise.
Why Does the Torah Begin With Creation at All?
This brings us to the deeper question that haunted the rabbinic mind. If the Torah is primarily a law code, why does it begin not with commandments but with the story of the world's formation? A more practical document would open with the commandments of Passover, which is where the first direct command to Israel appears (Exodus 12:2). Rabbi Yanai, cited in Shir HaShirim Rabbah 4:6, asked exactly this. His answer: the creation narrative exists to establish Israel's legal claim to the Land of Canaan. If the nations of the world ever say "You are thieves who stole the land," Israel can point to Genesis and say, "God created the world. He has the right to give it to whomever He wishes, and He gave it to us."
As Why the Torah Starts With Creation Not Commandments explains, the opening chapters of Genesis are, in this reading, a legal preamble to the conquest of Canaan. Joshua, who actually executed that conquest, was therefore the fulfillment of a promise embedded in the very first sentence God ever spoke.
Moses Passes the Torah to Joshua at the Dawn of Creation
The Ginzberg compilation in Legends of the Jews records a profound scene from Joshua's commissioning. Joshua prostrates himself before Moses and declares that he has learned everything from him, that he cannot imagine leading Israel alone. Moses reassures him: the same God who was with Abraham, Isaac, and Jacob in every crisis will be with Joshua in Canaan. God himself then confirms Joshua's appointment and tells him to be strong, because the land is already his.
What makes this scene theologically charged is what Joshua at the Dawn of Creation in Legends of the Jews reveals: Moses tells Joshua that the Torah he is about to carry into Canaan is the same Torah that was present at creation, the same wisdom that preceded the world, the same light that was encoded into the first day before the sun existed. Joshua is not merely a military leader. He is the bearer of the primordial order.
What the Creation Narrative Was Always Pointing Toward
The rabbis who noticed Joshua's name encoded into Genesis were doing something more than clever wordplay. They were arguing that history was not random, that the conquest of Canaan was not an accident of military power, and that Joshua was not merely a capable general who happened to be available when Moses died. He was appointed before the first day. The light that God declared good in Genesis 1:4 was already, in the minds of the rabbis, the light of Torah leadership that would eventually shine through Joshua into the land.
In the Midrash Rabbah tradition, nothing in the Torah is ornamental. Every word is a window. The window in Genesis 1:18 opens onto the plains of Moab, where an old man lays his hands on a young one and says: you were made for this before the world began.