Genesis 38:8 in the World English Bible
Judah said to Onan, “Go in to your brother’s wife, and perform the duty of a husband’s brother to her, and raise up offspring for your brother.”
Context
7 And Er, Judah’s firstborn, was wicked in the sight of the LORD; and the LORD slew him.
8 And Judah said unto Onan, Go in unto thy brother’s wife, and marry her, and raise up seed to thy brother.
9 And Onan knew that the seed should not be his; and it came to pass, when he went in unto his brother’s wife, that he spilled it on the ground, lest that he should give seed to his brother.