6 In the course of time, Judah arranged for his firstborn son, Er, to marry a young woman named Tamar. 7 But Er was a wicked man in the Lord 's sight, so the Lord took his life. 8 Then Judah said to Er's brother Onan, "Go and marry Tamar, as our law requires of the brother of a man who has died. You must produce an heir for your brother." 9 But Onan was not willing to have a child who would not be his own heir. So whenever he had intercourse with his brother's wife, he spilled the semen on the ground. This prevented her from having a child who would belong to his brother. 10 But the Lord considered it evil for Onan to deny a child to his dead brother. So the Lord took Onan's life, too. 11 Then Judah said to Tamar, his daughter-in-law, "Go back to your parents' home and remain a widow until my son Shelah is old enough to marry you." (But Judah didn't really intend to do this because he was afraid Shelah would also die, like his two brothers.) So Tamar went back to live in her father's home.
Matthew Henry's Commentary on Genesis 38:6-11
Chapter Contents
The profligate conduct of Judah and his family.
This chapter gives an account of Judah and his family, and such an account it is, that it seems a wonder that of all Jacob's sons, our Lord should spring out of Judah, John 8:41. What awful examples the Lord proclaims in his punishments, of his utter displeasure at sin! Let us seek grace from God to avoid every appearance of sin. And let that state of humbleness to which Jesus submitted, when he came to put away sin by the sacrifice of himself, in appointing such characters as those here recorded, to be his ancestors, endear the Redeemer to our hearts.