New International Reader's Version

Genesis 38:9 New International Reader's Version (NIRV)

But Onan knew that the children wouldn't belong to him. So every time he made love to his brother's wife, he spilled his semen on the ground. He did it so he wouldn't produce children for his brother.

Genesis 38

Genesis 38:4-17