Genesis 38:7

38:7 But Er, Judah’s firstborn, was evil in the Lord’s sight, so the Lord killed him.