3 She became pregnant. She had a son. They named him Er.
4 She became pregnant again and had another son. She named him Onan.
5 She had still another son. She named him Shelah. He was born at Kezib.
6 Judah got a wife for his oldest son Er. Her name was Tamar.
7 But Judah's oldest son Er was evil in the Lord's eyes. So the Lord put him to death.
8 Then Judah said to Onan, "Make love to your brother's wife. After all, you are her brother-in-law. So carry out your duty to her. Produce children for your brother."
9 But Onan knew that the children wouldn't belong to him. So every time he made love to his brother's wife, he spilled his semen on the ground. He did it so he wouldn't produce children for his brother.