Genesis 38:10 (BSB)

10 What he did was wicked in the sight of the LORD, so He put Onan to death as well.

Berean Standard Bible: The Holy Bible, Berean Standard Bible, BSB, dedicated to the public domain berean.bible