8 And Judah said unto Onan, Go in unto thy brother's wife, and marry her, and raise up seed to thy brother.
English Standard Version
8 Then Judah said to Onan, "Go in to your brother's wife and perform the duty of a brother-in-law to her, and raise up offspring for your brother."
8 So Judah told Onan, "Go and sleep with your brother's widow; it's the duty of a brother-in-law to keep your brother's line alive."
New King James Version
8 And Judah said to Onan, "Go in to your brother's wife and marry her, and raise up an heir to your brother."
New Living Translation
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."
Matthew Henry's Commentary on Genesis 38:8
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.