But Onan knew that the offspring would not be his; so whenever he lay with his brother’s wife, he spilled his semen on the ground to keep from producing offspring for his brother.