The sons of Judah: Er, Onan and Shelah—the three were born to him by Bath-shua the Canaanite woman. But Er, Judah’s firstborn, was wicked in the sight of Adonai, so He put him to death.
Furthermore, he made his children pass through the fire in the valley of Ben-hinnom and practiced witchcraft, divination and sorcery, and consulted ghosts and spiritists. He did much evil in the sight of Adonai, provoking Him to anger.
If a man sins against another, God may pardon him; but if a man sins against Adonai, who will intercede for him?” But they did not listen to the voice of their father, because Adonai desired to put them to death.