Abraham Outwitted Pharaoh and Taught Egypt Astronomy
Three ancient sources tell the story of Abraham's journey to Egypt — and together they reveal a patriarch who was as much philosopher and astronomer as wandering herdsman.
Table of Contents
Abraham went to Egypt because of a famine. He came back wealthy, vindicated, and according to one ancient source, having taught the Egyptians arithmetic.
The biblical account in Genesis is spare: famine, Egypt, Sarah's beauty, the deception about her being Abraham's sister, divine plagues on Pharaoh's house, an angry confrontation, a departure loaded with gifts. Twelve verses. It is enough to tell the story without explaining it. But three ancient sources — the Book of Jubilees (part of our Apocrypha collection of 1,628 texts), the Antiquities of the Jews by Josephus (200 texts), and the Midrash Tehillim — each extended the story in a different direction, and together they produce a portrait of Abraham that Genesis alone cannot fully contain.
Why Abraham Was Already Rich Before He Got to Egypt
The Book of Jubilees, composed c. 150 BCE and structured as a revelation given to Moses on Mount Sinai, is obsessed with chronology. It dates events to specific years within its jubilee calendar system and treats the precision of those dates as theologically significant. When it tells us that Abraham returned from Egypt to the altar between Ai and Bethel in the forty-first jubilee, third year, first week, it is making a claim about the ordered nature of divine providence — that history moves according to a schedule God has set.
But the Jubilees account of Abraham in Egypt also preserves something that Genesis leaves implicit: Abraham was already a man of enormous material wealth before anything went wrong. The text describes him as "very glorious by reason of possessions in sheep, and cattle, and asses, and horses, and camels, and menservants, and maidservants, and in silver and gold exceedingly." This is not the portrait of a desperate refugee. It is the portrait of a powerful man who went to a powerful land and navigated the encounter successfully.
Jubilees treats the wealth itself as religiously significant. When Abraham returns to the altar and calls on the name of God, declaring "Thou, the most high God, art my God for ever and ever," he is making this declaration as a man of means, not as a beggar who barely escaped. The material success did not distract him from the spiritual commitment. It became the context within which that commitment was renewed and deepened.
What Did Josephus Say Abraham Was Actually Doing in Egypt?
Josephus, writing his Antiquities of the Jews between 93 and 94 CE for a Roman audience, had no interest in leaving Abraham as a passive figure who stumbled into danger and was rescued by divine intervention. His Abraham is an intellectual heavyweight who went to Egypt with a deliberate agenda.
Yes, there was a famine. Yes, Abraham heard that Egypt was prosperous. But Josephus adds a second reason for the journey: Abraham wanted to meet the Egyptian priests. If they had better ideas about God and the nature of the world than he did, he would adopt them. If they did not, he would try to convert them. This is Abraham as philosopher-king — a man who treats theology as a discipline subject to rational examination, willing to follow the argument wherever it leads.
The danger was Sarah. Josephus preserves the biblical deception: Abraham feared that Pharaoh's men would kill him to take his wife, so he told Sarah to present herself as his sister. It failed almost immediately. Word of Sarah's beauty spread through the Egyptian court. Pharaoh sent for her, intending to make her his own. God intervened with plagues and political chaos. Pharaoh's body broke down with disease. His government erupted in sedition. When the Egyptian priests finally told him the truth — that this woman was another man's wife and that the catastrophe was divine punishment for pursuing her — Pharaoh summoned Abraham, returned Sarah untouched, and gave him enormous wealth as an apology.
Then Josephus records something remarkable. Pharaoh did not exile Abraham. He invited him to stay. He wanted Abraham to debate his scholars. And Abraham did not just debate — he taught. Josephus claims that Abraham introduced the Egyptians to arithmetic and astronomy, sciences that had originated among the Chaldeans. These disciplines eventually passed from Egypt to the Greeks. The man who had come as a famine refugee left as the most admired mind in the most advanced civilization on earth.
How Did Abraham Become the Most Admired Mind in Egypt?
Josephus is making a specific argument here, one that was important in the cultural politics of the first century CE. He is claiming that the intellectual inheritance of the ancient world — the mathematical and astronomical knowledge that the Greeks credited to themselves and to Egypt — actually originated with the Hebrew patriarchs. Abraham did not learn from Egypt. Egypt learned from Abraham.
This claim was not invented by Josephus. It drew on a tradition within Jewish apologetic literature that insisted on the priority of Jewish knowledge. But Josephus gave it a specific narrative form: Abraham went to Egypt carrying the intellectual heritage of the Chaldeans, and he left it behind for the Egyptians to use. The knowledge then traveled to Greece. When the Greeks claimed to have invented astronomy, they were using a gift that had passed through two intermediaries before reaching them — Abraham had given it to Egypt, and Egypt had given it to Greece.
For Josephus, writing for Romans who revered Greek learning, this was a pointed assertion: the civilization you most admire owes its intellectual foundations to the people you have just conquered and dispersed.
What the Midrash Tehillim Saw in the Cups of Pharaoh's Judgment
The Midrash Tehillim, a rabbinic interpretation of the Book of Psalms composed between the 9th and 13th centuries CE, approaches the Abraham-Pharaoh story from a completely different angle. It is not interested in what happened in Egypt. It is interested in what will happen to Pharaoh at the end of time.
Reading (Psalms 75), the Midrash describes a cup of divine judgment that God will present to the wicked — to Pharaoh among them. Pharaoh protests that he hasn't even tasted a cup in this world. God responds: what you tasted was a small coin compared to what awaits. The plagues that fell on Egypt, the drowning at the sea, the humiliation of returning Sarah — these were the preview. The full cup has not yet been poured.
The Midrash then expands into a vision of four cups of blessing and four cups of punishment. The cups of blessing — the cup of abundance in (Psalm 23:5), the cup of God as our portion in (Psalm 16:5), the cup of salvation in (Psalm 116:13) — are balanced by four cups of punishment awaiting the nations who afflicted Israel. Against these cups stand ten horns of divine power given to Israel: the horn of Abraham, tied to the promise of the land; the horn of Moses; the horn of prophecy; the horn of Torah; the horn of priesthood; the horn of the tribe of Levi; the horn of Jerusalem; and the horn of the coming redemption.
When Israel sinned, these horns were taken from them and given to the nations. When the nations' horns are raised, Israel's are lowered. But the Midrash ends with the promise of (Psalm 75:11): "All the horns of the wicked will I cut off, but the horns of the righteous shall be exalted."
Three Sources, One Abraham
What emerges from reading these three accounts together is a portrait assembled from different angles. Jubilees gives us Abraham the faithful worshipper — the man of great wealth who returns from his encounter with the most powerful monarch in the ancient world and goes straight back to the altar. His first act upon returning is to call on the name of God. The wealth is real; the devotion is realer.
Josephus gives us Abraham the intellectual — the philosopher who walks into Egypt's court looking for a debate and walks out having taught its scholars what they would teach the Greeks. His encounter with Pharaoh is not a disaster narrowly averted. It is a mission that achieved more than he could have planned.
Midrash Tehillim gives us the long view — the perspective of centuries of accumulated Jewish experience under empires that rose and fell. Pharaoh was one name in a long list. The cup of judgment does not come immediately. But it comes. The horns of the wicked are raised for a time and then cut off. The horns of the righteous are lowered for a time and then exalted. Abraham's journey to Egypt was the first move in a pattern that the Midrash saw playing out across all of history.
None of these three accounts contradicts the others. Together they answer questions that each source leaves open. Why did Abraham go? Josephus says: to learn and to teach. What did he do when he returned? Jubilees says: he went back to the altar and declared his faith. What happened to Pharaoh in the end? Midrash Tehillim says: the cup has not yet been fully poured, but it is being prepared.
Three sources, three centuries, three languages — and one story that has not finished being told.