The sons of Judah were Er, Onan, and Shelah; these three were born to him of Shua, a daughter of Canaan. And Er, the first begotten of Judah, was evil before the Lord, and the Lord killed him.