Genesis 38:1-6
Judah and Tamar
38:1 At that time Judah left his brothers and stayed with an Adullamite man named Hirah.
38:2 There Judah saw the daughter of a Canaanite man named Shua. Judah acquired her as a wife and had marital relations with her.
38:3 She became pregnant and had a son. Judah named him Er.
38:4 She became pregnant again and had another son, whom she named Onan.
38:5 Then she had yet another son, whom she named Shelah. She gave birth to him in Kezib.
38:6 Judah acquired a wife for Er his firstborn; her name was Tamar.