Tamar In The Bible

The short answer

Tamar's story is told in Genesis 38. She marries Er, the eldest son of Judah, and when Er dies, custom requires that his brother Onan give her children to carry on the family line. Onan refuses in a way that exploits her, and he too dies. Judah, now fearful, sends Tamar back to her father's house with a promise he never intends to keep: that his youngest son, Shelah, will marry her when he grows up. Years pass. Tamar is left in limbo — a widow with no children, no security, and no future, wronged by the very family obligated to protect her.

So Tamar acts. She veils herself and waits along a road where Judah will pass. Not recognizing her, he treats her as a prostitute, and she takes his seal, cord, and staff as a pledge. When Judah later hears she is pregnant and demands her death, she produces his own belongings. Judah's response is one of the Bible's great moments of self-recognition: "She is more righteous than I." Tamar gives birth to twins, Perez and Zerah, and through Perez her line runs to King David — and eventually to Jesus.

That is why her name appears again, centuries later, in the opening verses of Matthew's Gospel. Matthew's genealogy of Jesus mentions only a handful of women, and Tamar is the first. Her story — irregular, painful, tangled with injustice — is not edited out of the Messiah's family tree. It is deliberately kept in. The Bible presents Tamar not as a scandal to be hidden but as a woman who, against enormous odds, secured justice and a future, and whose courage became part of the story of salvation itself.

Why would Matthew highlight such an uncomfortable episode in Jesus' own family tree? N. T. Wright suggests these reminders of God's strange workings — including Judah's treatment of Tamar — prepare readers for the strangest story of all: Mary's pregnancy through the Holy Spirit.

“But Matthew also knows that the way it has happened is very strange. He is about to tell how Mary, Jesus’ mother, had become pregnant not through her fiancé, Joseph, but through the holy spirit . So Matthew adds to his list reminders of the strange ways God worked in the royal family itself: Judah treating his daughter-in-law Tamar as a prostitute, Boaz being the son of the Jericho prostitute Rahab, and David committing adultery with the wife of Uriah the Hittite. If God can work through these bizarre ways, he seems to be saying, watch what he’s going to do now.”

N. T. Wright, Matthew for Everyone: Part 1 Chapters 1–15 Westminster John Knox Press. All rights reserved. More from Wright in Rebind →

Tamar's story speaks to anyone whose life hasn't followed a tidy script. Family failure, broken promises, situations too complicated to explain neatly — none of these disqualify a person from God's purposes. Tamar was wronged, overlooked, and left without options, yet she acted with courage, and Scripture honors her for it.

Her place in Jesus' genealogy is a quiet reassurance: God does not require a spotless backstory. If your own history feels messy or shameful, Tamar suggests that God can weave even the most painful chapters into something redemptive — and that pursuing justice, even from a position of weakness, is never wasted.

Genesis 38 interrupts the Joseph narrative — Joseph has just been sold into Egypt in chapter 37 — to follow Judah, the brother who proposed selling him. The chapter traces Judah's marriage, his sons' deaths, and his failure toward Tamar, ending with his admission of her righteousness and the birth of Perez and Zerah. Tamar reappears in Ruth 4, where Perez's line leads to David, and in Matthew 1:3, where she stands among the ancestors of Jesus at the very start of the New Testament.