2 There Judah met the daughter of a Canaanite man whose name was Shua. He married her and slept with her.
3 She became pregnant and gave birth to a son named Er.
4 She became pregnant again and gave birth to another son, whom she named Onan.
5 Then she became pregnant again and gave birth to another son, whom she named Shelah. He was born at Kezib.
6 Judah chose a wife for his firstborn son Er. Her name was Tamar.
7 Er angered the Lord. So the Lord took away his life.
8 Then Judah said to Onan, “Go sleep with your brother’s widow. Do your duty for her as a brother-in-law, and produce a descendant for your brother.”