Then Judah said to his daughter-in-law Tamar, “Remain a widow in your father’s house until my son Shelah grows up”; for he thought, “I am afraid that he too may die like his brothers.” So Tamar went and lived in her father’s house.
And Judah recognized them, and said, “She is more righteous than I, since I did not give her to my son Shelah.” And he did not have relations with her again.
The sons of Judah were Er, Onan, and Shelah; these three were born to him by Bath-shua the Canaanitess. But Er, Judah’s firstborn, was evil in the sight of the Lord, so He put him to death.
The sons of Shelah the son of Judah were Er the father of Lecah and Laadah the father of Mareshah, and the families of the house of the linen workers at Beth-ashbea;
The sons of Judah by their families were: of Shelah, the family of the Shelanites; of Perez, the family of the Perezites; of Zerah, the family of the Zerahites.