[9]But 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.
[11]And Judah said to Tamar his daughter-in-law, Remain a widow in thy father's house, until Shelah my son is grown; for he said, Lest he die also, as his brethren. And Tamar went and remained in her father's house.
[12]And 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.
[14]And 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.
[16]And 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?
[18]And he said, What pledge shall I give thee? And she said, Thy signet, and thy lace, and thy staff which is in thy hand. And he gave [it] her, and went in to her; and she conceived by him.
[21]And 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.
[24]And 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.
[25]When 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.
[26]And 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.
[28]And it came to pass when she brought forth, that one stretched out [his] hand, and the midwife took it and bound round his hand a scarlet thread, saying, This came out first.
[29]And 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.