Er and Onan were sons of Judah, but they died in Canaan.
NMVThe sons of Y’hudah [Let Him (God) Be Praised] [were] Er and Onan: and Er and Onan died in the land of Kena’an [Merchant].
OJBThe Bnei Yehudah were Er and Onan; and Er and Onan died in Eretz Kena'an.
Onkelos (Etheridge)Of the sons of Jehudah, Her and Onan: but Her and Onan died in the land of Kenaan;
T4T[26:19–22]They counted 76,500 men from the tribe of Judah. They were in clans descended from Shelah, Perez, Zerah, Hezron, and Hamul. Judah’s other two sons, Er and Onan, died in Canaan without having had any children.