The sons of Judah were: Er, Onan, and Shelah; these three Bathshua, a Canaanite woman, bore to him. But Judah’s firstborn, Er, was wicked in the sight of the Lord, so he took his life.
It was he, too, who immolated his children by fire in the Valley of Ben-hinnom. He practiced soothsaying and divination, and reintroduced the consulting of ghosts and spirits. He did much evil in the Lord’s sight and provoked him to anger.
If someone sins against another, anyone can intercede for the sinner with the Lord; but if anyone sins against the Lord, who can intercede for the sinner?” But they disregarded their father’s warning, since the Lord wanted them dead.