1 Chronicles 2:3 CJB

3 The sons of Y'hudah: 'Er, Onan and Shelah; the mother of these three was Bat-Shua the Kena'anit. 'Er, Y'hudah's firstborn, was wicked from ADONAI's perspective, so he killed him.