Genesis 38:5-7 New King James Version (NKJV)

5. And she conceived yet again and bore a son, and called his name Shelah. He was at Chezib when she bore him.

6. Then Judah took a wife for Er his firstborn, and her name was Tamar.

7. But Er, Judah’s firstborn, was wicked in the sight of the Lord, and the Lord killed him.

Genesis 38