Genesis 38:1-10
Genesis 38:1-10 ESV
It happened at that time that Judah went down from his brothers and turned aside to a certain Adullamite, whose name was Hirah. There Judah saw the daughter of a certain Canaanite whose name was Shua. He took her and went in to her, and she conceived and bore a son, and he called his name Er. She conceived again and bore a son, and she called his name Onan. Yet again she bore a son, and she called his name Shelah. Judah was in Chezib when she bore him. And Judah took a wife for Er his firstborn, and her name was Tamar. But Er, Judah’s firstborn, was wicked in the sight of the LORD, and the LORD put him to death. Then Judah said to Onan, “Go in to your brother’s wife and perform the duty of a brother-in-law to her, and raise up offspring for your brother.” But Onan knew that the offspring would not be his. So whenever he went in to his brother’s wife he would waste the semen on the ground, so as not to give offspring to his brother. And what he did was wicked in the sight of the LORD, and he put him to death also.