Genesis 38
3And she conceived and bore a son; and he called his name Er.
4And she again conceived and bore a son, and she called his name Onan.
7And Er, Judah's firstborn, was wicked in the sight of Jehovah, and Jehovah slew him.
8Then Judah said to Onan, Go in to thy brother's wife, and fulfil to her the brother-in-law's duty, and raise up seed to thy brother.
9But when Onan knew that the seed should not be his own, it came to pass when he went in to his brother's wife, that he spilled [it] on the ground, in order to give no seed to his brother.
10And the thing which he did was evil in the sight of Jehovah, and he slew him also.
12And as the days were multiplied, Judah's wife, the daughter of Shua, died. And Judah was comforted, and he went up to his sheep-shearers, to Timnah, he and his friend Hirah the Adullamite.
13And it was told Tamar, saying, Behold thy father-in-law is going up to Timnah to shear his sheep.
14And she put the garments of her widowhood off from her, and covered herself with a veil, and wrapped herself, and sat in the entry of Enaim, which is on the way to Timnah; for she saw that Shelah was grown, and she was not given to him as wife.
16And he turned aside to her by the way, and said, Come, I pray thee, let me go in to thee; for he did not know that she was his daughter-in-law. And she said, What wilt thou give me, that thou mayest come in to me?
19And she arose and went away; and she laid by her veil from her, and put on the garments of her widowhood.
20And Judah sent the kid of the goats by the hand of his friend the Adullamite, to receive the pledge from the woman's hand; but he found her not.
21And he asked the men of her place, saying, Where is the prostitute that was at Enaim, by the way-side? And they said, There was no prostitute here.
22And he returned to Judah, and said, I have not found her; and also the men of the place said, No prostitute has been here.
23Then Judah said, Let her take [it] for herself, lest we be put to shame. Behold, I sent this kid, and thou hast not found her.
24And it came to pass about three months after, that it was told Judah, saying, Tamar thy daughter-in-law has committed fornication, and behold, she is also with child by fornication. And Judah said, Bring her forth, that she may be burned.
25When she was brought forth, she sent to her father-in-law, saying, By the man to whom these [belong] am I with child; and she said, Acknowledge, I pray thee, whose are this signet, and this lace, and this staff.
26And Judah acknowledged [them], and said, She is more righteous than I, because I have not given her to Shelah my son. And he knew her again no more.
27And it came to pass at the time of her delivery, that behold, twins were in her womb.
29And it came to pass as he drew back his hand, that behold, his brother came out; and she said, How hast thou broken forth! on thee be the breach! And they called his name Pherez.
30And afterwards came out his brother, round whose hand was the scarlet thread; and they called his name Zerah.