9 And Onan knew that the seed would not be his; and it came to pass, whenever he went in to his brother's wife, that he spilled on the ground, lest he should give seed to his brother.

10 And the thing which he did was evil in the sight of Yahweh: and he slew him also.