Genesis 38:3; Genesis 38:6-7

3 she became pregnant and gave birth to a son, who was named Er.
6 Judah got a wife for Er, his firstborn, and her name was Tamar. 7 But Er, Judah's firstborn, was wicked in the LORD's sight; so the LORD put him to death.