Judah said to Onan, his second son, “Your brother Er has died and so by our culture, you have to marry his wife Tamar. Go and sleep with her so that she can have a baby to keep your older brother's family line going.”