The foundation of the royal dynasty in Israel begins with what appears to be a routine arranged marriage. A father takes the initiative to find a suitable wife for his son, yet beneath the surface lies a complex web of hidden lineages, personal merits, and divine providence.
Judah took personal and direct responsibility for selecting a bride. He wanted to ensure his son married a woman of genuine virtue and strong character. This deliberate selection stands in sharp contrast to his own marriage to the daughter of Shua, whose name was previously omitted because she lacked independent personal merit [אלשיך].
At the time of this union, Er was merely eight years old [העמק דבר, ביאור שטיינזלץ]. Judah orchestrated this unusually early marriage out of a strong desire to expand his family line. Because he could not take a second wife out of respect for his current wife, and realizing he would not have more children with her, he arranged for his young son to marry an older woman. This specific practice of marrying an older woman to a young boy for the sake of having children was a recognized custom that later became accepted in Jerusalem [העמק דבר].
The bride's identity is carefully highlighted by her name, Tamar, while her family background and origins are deliberately left unmentioned. This omission serves a dual purpose. First, it indicates that she was not a local Canaanite [ביאור שטיינזלץ]. More importantly, it emphasizes her outstanding personal righteousness. Although she came from a highly distinguished family, her ancestry is ignored to show that Judah chose her solely for her own qualities [אלשיך]. Her very name, Tamar, hints at this absolute righteousness, evoking the image of a righteous person flourishing like a palm tree. Her spiritual stature was so significant that she ultimately merited becoming the mother of the royal dynasty of the Israelites [העמק דבר, אלשיך, ברכת אשר על התורה].
Regarding her hidden ancestry, traditional sources trace her back to Shem, the son of Noah. While one perspective identifies her literally as the daughter of Shem, this creates a chronological difficulty, as she would have been exceptionally old. A resolving viewpoint explains that she was actually the daughter of Elam, Shem's son, born to him in his old age. She is referred to as Shem's daughter because grandchildren are often considered as one's own children [ביאור יש״ר, ברכת אשר על התורה].
This marriage carried a fateful and difficult future. Er and his brother Onan were destined to die prematurely. Their deaths served as a spiritual atonement for Judah, who had previously initiated the effort to save his brother Joseph but failed to see it through to completion. Despite the tragedy, Tamar's motives remained entirely pure and directed toward God, driven by a deep yearning to raise children [צרור המור]. In the end, the souls of Er and Onan were reincarnated, returning to the world through Tamar's twin sons, Perez and Zerah, thereby fulfilling the ultimate plan for the family's continuation [פני דוד].