Genesis 38

Genesis 38 — Commentary and Meaning

The short answer

Genesis 38 turns on a custom modern readers rarely encounter: levirate marriage. When a married man died without a son, his brother was expected to marry the widow and father a child who would legally count as the dead man's heir. That is the engine of this whole chapter. Judah's firstborn, Er, dies, leaving his wife Tamar childless. Judah tells his next son, Onan, to "perform the duty of a husband's brother" and raise up offspring for Er. Onan goes through the motions of the marriage but deliberately prevents conception, because any child would belong to his dead brother, not to him. In the story's own terms, his offense is a refusal of duty—withholding an heir, and a future, from his brother's line—and God strikes him dead for it. The verse has often been pulled out of context in debates about sexuality, but the chapter itself is about a broken obligation to the dead.

The story then widens. Judah, fearing for his last son, quietly shelves Tamar with a promise he never intends to keep. Tamar, still legally bound to Judah's family, disguises herself, and Judah—not recognizing her—sleeps with her. When her pregnancy comes to light, he orders her execution, only to discover the evidence points to him. His own verdict is stunning: "She is more righteous than I."

Here is the twist that gives the chapter its lasting weight. This episode is a genuine skeleton in Judah's closet—the kind of story that ought to disqualify a family from honor. Yet the line of Israel's kings, and eventually the Messiah, runs straight through Judah and Tamar's son Perez. Genesis 38 quietly insists that God's choices are never a simple reward for good behavior.

These two excerpts answer the chapter's central questions: Michael Joseph Brown explains how levirate marriage worked and why Onan's refusal to give his dead brother an heir was the offense, while John Goldingay notes that the skeletons in Judah's closet show God's dealings can never be explained simply by merit.

“Not just that, the living brother must impregnate his new wife so that she can have a son who will legally belong to his deceased brother. This seems outrageous to us, but it was the way things worked in ancient Israel. Out first encounter with this kind of marriage comes in Genesis 38, where Judah’s son, Er, dies without a son. Judah instructs his next eldest son, Onan, to perform his duty to his deceased brother. As the Bible tells us, Onan was not happy with this arrangement: “Since Onan knew that the offspring would not be his, he spilled his semen on the ground whenever he went in to his brother’s wife, so that he would not give offspring to his brother” (Gen. 38:9). In response to Onan’s disobedience, God strikes him dead.”

Michael Joseph Brown, What They Don’t Tell You: A Survivor’s Guide to Biblical Studies Westminster John Knox Press. All rights reserved. More from Brown in Rebind →

“Genesis 34 and 35 give some hints as to why Israel’s first three sons lose their senior position, though Genesis 38 also tells a story that could provide good reason for Judah to lose his place. Chronicles is discrete in the allusions it makes to that story, but it reminds its readers (who would be mostly Judahites) that there are skeletons in Judah’s closet, too. The chapter thus shows that as usual you can’t explain what God does simply on the basis of merit, and the Judahites had better not think so. The story of Trouble comes in Joshua 7, and the sentence about him introduces one of Chronicles’ key terms to characterize the significance of Israel’s wrongdoing. It’s like trespassing on someone’s property or their rights or their personal space or the contents of their refrigerator in a way that goes beyond what you have been invited into.”

John Goldingay · Senior Professor of Old Testament and David Allan Hubbard Professor Emeritus of Old Testament, Fuller Theological Seminary, 1 and 2 Chronicles for Everyone Westminster John Knox Press. All rights reserved. More from Goldingay in Rebind →

If your family history, or your own history, includes chapters you would rather no one read, Genesis 38 is strangely good news. Scripture does not airbrush the ancestors of its greatest figures; it records their failures in detail and then shows God working through those very people. That should cure two habits at once: the habit of assuming God's favor proves someone's merit, and the habit of assuming your failures prove God is finished with you.

The chapter also honors Tamar, the wronged party who acted when the powerful stalled. Sometimes the person a story calls righteous is the one everyone else was ready to condemn.

Genesis 38 interrupts the Joseph story. Chapter 37 ends with Joseph sold into Egypt—a sale Judah proposed—and chapter 39 picks his story back up. In between, the narrator follows Judah as he leaves his brothers, marries a Canaanite woman, and raises three sons. The chapter traces the deaths of Er and Onan, Judah's failure to give Tamar his third son, and her bold move to secure the heir she was owed. Its closing birth of Perez plants the seed of the royal line that Ruth and Matthew will later trace to David and to Jesus.