1 Chronicles 2:3

3 Sons of Judah: Er, and Onan, and Shelah, three have been born to him of a daughter of Shua the Canaanitess. And Er, first-born of Judah, is evil in the eyes of Jehovah, and He putteth him to death.

1 Chronicles 2:3 Meaning and Commentary

1 Chronicles 2:3

The sons of Judah
The genealogy begins with him, though the fourth son of Jacob; because, as Kimchi says, this book treats chiefly of the kings of Judah; but rather not only because Jesse and David sprang from him, but also the King Messiah:

Er, and Onan, and Shelah, which three were born unto him of the
daughter of Shua the Canaanitess;
see ( Genesis 38:2 Genesis 38:12 ) ,

and Er, the firstborn of Judah, was evil in the sight of the Lord;
because he did that which was evil:

and he slew him;
he died by the immediate hand of God, and so his brother Onan, being wicked also, ( Genesis 38:7 Genesis 38:10 ) .

1 Chronicles 2:3 In-Context

1 These [are] sons of Israel: Reuben, Simeon, Levi, and Judah, Issachar, and Zebulun,
2 Dan, Joseph, and Benjamin, Naphtali, Gad, and Asher.
3 Sons of Judah: Er, and Onan, and Shelah, three have been born to him of a daughter of Shua the Canaanitess. And Er, first-born of Judah, is evil in the eyes of Jehovah, and He putteth him to death.
4 And Tamar his daughter-in-law hath borne to him Pharez and Zerah. All the sons of Judah [are] five.
5 Sons of Pharez: Hezron, and Hamul.
Young's Literal Translation is in the public domain.