Er and Onan were sons of Judah, but they died in Canaan.
The sons of Judah were Er, Onan, Shelah, Perez, and Zerah. (Er and Onan had died in Canaan.) The sons of Perez were Hezron and Hamul.
Judah’s descendants were Perez, Hezron, Carmi, Hur, and Shobal.
The roster of families and households for the descendants of Judah listed the men by name who were at least 20 years old and eligible for military duty.