9 And Onan knew that the seed would not be his, and it came to pass when he went in unto his brother's wife, that he corrupted [it] on the ground, to not give seed to his brother.

10 And the thing which he did displeased the LORD, and he slew him also.