The sons of Judah who died in Canaan were Er and Onan. These were the descendants of Judah by family:
The sons of Judah: Er, Onan, Shelah, Perez, and Zerah. However, Er and Onan died in Canaan. The sons of Perez: Hezron and Hamul.
The sons of Judah: Perez, Hezron, Carmi, Hur, and Shobal.
The descendants of Judah, men aged twenty or older, were recorded by name according to the genealogical records of their tribe and families. All those registered who could serve in the army