Genesis 46:12

12The sons of aJudah: Er, Onan, Shelah, Perez, and Zerah (but bEr and Onan died in the land of Canaan); and the sons of cPerez were Hezron and Hamul.

1 Chronicles 2:3

3 dThe sons of Judah: eEr, Onan and Shelah; these three Bath-shua the Canaanite bore to him. Now Er, Judah’s firstborn, was evil in the sight of the Lord, and he put him to death.
Copyright information for ESV