What does Genesis 38:8 say in the KJV?

And Judah said unto Onan, Go in unto thy brother’s wife, and marry her, and raise up seed to thy brother.

Judah instructs Onan regarding the custom of levirate marriage after the death of his brother Er.

King James Version (public domain)

Traditionally attributed to Moses · c. 13th century BC · The Pentateuch — Genesis, Exodus, Leviticus, Numbers, and Deuteronomy — is traditionally attributed to him

Context

6And Judah took a wife for Er his firstborn, whose name was Tamar.

7And Er, Judah’s firstborn, was wicked in the sight of the LORD; and the LORD slew him.

8And Judah said unto Onan, Go in unto thy brother’s wife, and marry her, and raise up seed to thy brother.

9And Onan knew that the seed should not be his; and it came to pass, when he went in unto his brother’s wife, that he spilled it on the ground, lest that he should give seed to his brother.

10And the thing which he did displeased the LORD: wherefore he slew him also.