Strong, the second son of Judah (Gen. 38:4-10; comp. Deut. 25:5; Matt. 22:24). He died before the going down of Jacob and his family into Egypt.
Onan
“Go in unto thy brother’s wife, and marry her, and raise up seed to thy brother.” Judah says this to his son Onan in Genesis 38:8, after Onan’s older brother Er has died. Onan knew the child would not count as his own, and he would not give his brother an heir. Verse 10 says that “the thing which he did displeased the LORD.” Later lists in Genesis 46 and Numbers 26 simply note that Er and Onan died in Canaan. The whole account is Genesis 38.
7 verses
Genesis
And she conceived again, and bare a son; and she called his name Onan.
And Judah said unto Onan, Go in unto thy brother's wife, and marry her, and raise up seed to thy brother.
And Onan knew that the seed should not be his; and it came to pass, when he went in unto his brother's wife, that he spilled it on the ground, lest that he should give seed to his brother.
And the thing which he did displeased the LORD: wherefore he slew him also.
And the sons of Judah; Er, and Onan, and Shelah, and Pharez, and Zerah: but Er and Onan died in the land of Canaan. And the sons of Pharez were Hezron and Hamul.
Numbers
The sons of Judah were Er and Onan: and Er and Onan died in the land of Canaan.
1 Chronicles
The sons of Judah; Er, and Onan, and Shelah: which three were born unto him of the daughter of Shua the Canaanitess. And Er, the firstborn of Judah, was evil in the sight of the LORD; and he slew him.
From Easton's Bible Dictionary
Matthew George Easton, 1897