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.