So she removed her widow's garments and covered [herself] with a veil, and wrapped herself, and sat in the gateway of Enaim, which is on the road to Timnah; for she saw that Shelah had grown up, and she had not been given to him as a wife.
When Judah saw her, he thought she [was] a harlot, for she had covered her face.
So he turned aside to her by the road, and said, "Here now, let me come in to you"; for he did not know that she was his daughter-in-law. And she said, "What will you give me, that you may come in to me?"
He said, therefore, "I will send you a young goat from the flock." She said, moreover, "Will you give a pledge until you send [it]?"
He said, "What pledge shall I give you?" And she said, "Your seal and your cord, and your staff that is in your hand." So he gave [them] to her and went in to her, and she conceived by him.
Then she arose and departed, and removed her veil and put on her widow's garments.
When Judah sent the young goat by his friend the Adullamite, to receive the pledge from the woman's hand, he did not find her.
He asked the men of her place, saying, "Where is the temple prostitute who was by the road at Enaim?" But they said, "There has been no temple prostitute here."
So he returned to Judah, and said, "I did not find her; and furthermore, the men of the place said, 'There has been no temple prostitute here.'"
Then Judah said, "Let her keep them, otherwise we will become a laughingstock. After all, I sent this young goat, but you did not find her."
Now it was about three months later that Judah was informed, "Your daughter-in-law Tamar has played the harlot, and behold, she is also with child by harlotry." Then Judah said, "Bring her out and let her be burned!"
It was while she was being brought out that she sent to her father-in-law, saying, "I am with child by the man to whom these things belong." And she said, "Please examine and see, whose signet ring and cords and staff are these?"
Judah recognized [them], and said, "She is more righteous than I, inasmuch as I did not give her to my son Shelah." And he did not have relations with her again.
It came about at the time she was giving birth, that behold, there were twins in her womb.
Moreover, it took place while she was giving birth, one put out a hand, and the midwife took and tied a scarlet [thread] on his hand, saying, "This one came out first."
But it came about as he drew back his hand, that behold, his brother came out. Then she said, "What a breach you have made for yourself!" So he was named Perez.
Afterward his brother came out who had the scarlet [thread] on his hand; and he was named Zerah.