Gênesis 38

9 But when Onan knew that the seed should not be his own, it came to pass when he went in to his brother's wife, that he spilled {it} on the ground, in order to give no seed to his brother.

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