Genesis 38:8, 11, 26
Genesis 38:8 NASB1995
Then Judah said to Onan, “Go in to your brother’s wife, and perform your duty as a brother-in-law to her, and raise up offspring for your brother.”
Genesis 38:26 NASB1995
Judah recognized them, and said, “She is more righteous than I, inasmuch as I did not give her to my son Shelah.” And he did not have relations with her again.