Genesis 38:8, 11, 26
Genesis 38:8 NKJV
And Judah said to Onan, “Go in to your brother’s wife and marry her, and raise up an heir to your brother.”
Genesis 38:26 NKJV
So Judah acknowledged them and said, “She has been more righteous than I, because I did not give her to Shelah my son.” And he never knew her again.