1 Chronicles 2:3 MSG

3 Judah had Er, Onan, and Shelah; their mother was Bathshua the Canaanite. Er, Judah's firstborn, was so bad before God that God killed him.