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.”
9 But Onan knew that the descendant wouldn’t belong to him, so whenever he slept with his brother’s widow, he wasted his semen on the ground to avoid giving his brother a descendant.