Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

Numbers 26:19

The sons of Judah were Er and Onan: and Er and Onan died in the land of Canaan.

Read in other translations