Genesis 38:7

WEB(i) 7 Er, Judah’s firstborn, was wicked in the sight of Yahweh. Yahweh killed him.