Then she became pregnant and gave birth to a son, and he named him Er.
Er and Onan were sons of Judah but had died in the land of Canaan.
Judah’s sons: Er, Onan, Shelah, Perez and Zerah. Er died along with Onan in the land of Canaan. Perez’s sons were Hezron and Hamul.
The sons of Judah: Er, Onan and Shelah—the three were born to him by Bath-shua the Canaanite woman. But Er, Judah’s firstborn, was wicked in the sight of Adonai, so He put him to death.