Genesis 38
1And it came to pass at that time, that Judah went down from his brothers, and he pitched his tent with a certain Adullamite whose name was Chirah.
3And she conceived, and bore a son; and he called his name 'Er.
4And she conceived again, and bore a son; and she called his name Onan.
7And 'Er, Judah's first-born, was displeasing in the eyes of the Lord; and the Lord slew him.
8And Judah said unto Onan, Go in unto thy brother's wife, and take her, as her brother-in-law, and raise up seed to thy brother.
9Onan thus knew that the seed should not be his, and it came to pass, when he went in unto his brother's wife, that he spilled it on the ground, so as not to give seed unto his brother.
10And the thing which he did was displeasing in the eyes of the Lord: wherefore he slew him also.
13And it was told unto Tamar, saying, Behold, thy father-in-law goeth up to Timnah to shear his sheep.
15And Judah saw her and thought her to be a harlot; because she had covered her face.
16And he turned unto her by the way, and said, Go to, I pray thee, let me come in unto thee; [for he knew not that she was his daughter-in-law.] And she said, What wilt thou give me, that thou mayest come in unto me?
19And she arose, and went away, and laid by her vail from her, and put on the garments of her widowhood.
20And Judah sent the kid by the hand of his friend the Adullamite, to take the pledge out of the woman's hand; but he found her not.
21Then he asked the men of her place, saying, Where is the harlot, that was at the cross-road on the highway? And they said, There hath been no harlot in this neighborhood.
22And he returned to Judah, and said, I cannot find her; and also the men of the place have said, There hath been no harlot in this place.
23And Judah said, Let her keep it, 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 to Judah, saying, Tamar thy daughter-in-law hath played the harlot; and also, behold, she is with child by prostitution. And Judah said, Lead her forth, and let her be burnt.
25When she was led forth, she sent to her father-in-law, saying, By the man, whose these are, am I with child: and she said, Acknowledge, I pray thee, to whom belong these, the signet, the scarf, and staff.
26And Judah acknowledged them, and said, She hath been more righteous than I; because that I gave her not to Shelah my son. And he knew her not again any more.
27And it came to pass at the time of her travail, that, behold, twins were in her womb.
30And afterward came out his brother, that had the scarlet thread upon his hand: and his name was called Zerach.