About that time Judah left his brothers and went to stay with a man named Hirah, who was from the town of Adullam.
There Judah met a young Canaanite woman whose father was named Shua. He married her,
and she bore him a son, whom he named Er.
She became pregnant again and bore another son and named him Onan.
Again she had a son and named him Shelah. Judah was at Achzib when the boy was born.
For his first son Er, Judah got a wife whose name was Tamar.
Er's conduct was evil, and it displeased the Lord, so the Lord killed him.
Then Judah said to Er's brother Onan, "Go and sleep with your brother's widow. Fulfill your obligation to her as her husband's brother, so that your brother may have descendants."