New American Bible, Revised Edition

Genesis 38:9 New American Bible, Revised Edition (NABRE)

Onan, however, knew that the offspring would not be his; so whenever he had intercourse with his brother’s wife, he wasted his seed on the ground, to avoid giving offspring to his brother.

Genesis 38

Genesis 38:3-10