6 Judah married his oldest son Er to a woman named Tamar.
7 But the Lord considered Judah’s oldest son Er immoral, and the Lord put him to death.
8 Judah said to Onan, "Go to your brother’s wife, do your duty as her brother-in-law, and provide children for your brother."
9 Onan knew the children wouldn’t be his so when he slept with his brother’s wife, he wasted his semen on the ground, so he wouldn’t give his brother children.
10 The Lord considered what he did as wrong and put him to death too.
11 Judah said to Tamar his daughter-in-law, "Stay as a widow in your father’s household until my son Shelah grows up." He thought Shelah would die like his brothers had. So Tamar went and lived in her father’s household.
12 After a long time, Judah’s wife the daughter of Shua died. Then, after a period of mourning, he and his neighbor Hirah the Adullamite went up to Timnah, to those who were shearing his sheep.