Er is the firstborn son of Judah. He married Tamar but “was wicked in the LORD’s sight, so the LORD put him to death” (Gen 38:7), triggering the levirate obligation that led to the story of Tamar and Judah.