Now Judah took a wife for Er his firstborn, and her name was Tamar. But Er, Judah’s firstborn, was evil in the sight of the LORD, so the LORD took his life. Then Judah said to Onan, “Go in to your brother’s wife, and perform your duty as a brother-in-law to her, and raise up offspring for your brother.” Onan knew that the offspring would not be his; so when he went in to his brother’s wife, he wasted his seed on the ground in order not to give offspring to his brother. But what he did was displeasing in the sight of the LORD; so He took his life also. Then Judah said to his daughter-in-law Tamar, “Remain a widow in your father’s house until my son Shelah grows up”; for he thought, “I am afraid that he too may die like his brothers.” So Tamar went and lived in her father’s house.
Now after a considerable time Shua’s daughter, the wife of Judah, died; and when the time of mourning was ended, Judah went up to his sheepshearers at Timnah, he and his friend Hirah the Adullamite. It was told to Tamar, “Behold, your father-in-law is going up to Timnah to shear his sheep.” 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.