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 feared that Shelah also might die like his brothers. So Tamar went to live in her father’s house.
Judah recognized them and said, “She is in the right rather than I, since I did not give her to my son Shelah.” He had no further sexual relations with her.
The sons of Judah were: Er, Onan, and Shelah; these three Bathshua, a Canaanite woman, bore to him. But Judah’s firstborn, Er, was wicked in the sight of the Lord, so he took his life.
The descendants of Judah by their clans were: through Shelah, the clan of the Shelahites; through Perez, the clan of the Perezites; through Zerah, the clan of the Zerahites.