The sons of Judah: Er and Onan and Shelah and Perez and Zerah (but Er and Onan died in the land of Canaan). And the sons of Perez were Hezron and Hamul.
Then he called to Yahweh and said, “O Yahweh my God, have You also brought calamity to the widow with whom I am sojourning, by causing her son to die?”
¶The sons of Judah were Er, Onan, and Shelah; these three were born to him by Bath-shua the Canaanitess. And Er, Judah’s firstborn, was evil in the sight of Yahweh, so He put him to death.
He even made his sons pass through the fire in the valley of Ben-hinnom; and he practiced soothsaying, interpreted omens, practiced sorcery, and dealt with mediums and spiritists. He did much that was evil in the sight of Yahweh, provoking Him to anger.
If one man sins against another, God will mediate for him; but if a man sins against Yahweh, who can pray for him?” But they would not listen to the voice of their father, for Yahweh desired to put them to death.