4Again she conceived and gave birth to a son, and she named him Onan.
5Then she gave birth to another son and named him Shelah; it was at Chezib that she gave birth to him.
6Now Judah acquired a wife for Er, his firstborn, and her name was Tamar.
7But Er, Judah’s firstborn, was wicked in the sight of the LORD; so the LORD put him to death.
8Then Judah said to Onan, “Sleep with your brother’s wife. Perform your duty as her brother-in-law and raise up offspring for your brother.”