Judah got a wife named Tamar for his firstborn, Er.
Judah became the father of Perez and Zerah, whose mother was Tamar. Perez became the father of Hezron, Hezron the father of Ram,
and I will make you swear by the Lord, the God of heaven and the God of earth, that you will not take a wife for my son from the daughters of the Canaanites among whom I live,
He lived in the wilderness of Paran. His mother got a wife for him from the land of Egypt. The Covenant at Beer-sheba.
Then she bore still another son, whom she named Shelah. She was in Chezib when she bore him.
But Er, Judah’s firstborn, greatly offended the Lord; so the Lord took his life.