Parallel
Genesis 38:10
Berean Standard Bible · Westminster Leningrad Codex
What he did was wicked in the sight of the LORD, so He put Onan to death as well.
וַיֵּ֛רַע בְּעֵינֵ֥י יְהוָ֖ה אֲשֶׁ֣ר עָשָׂ֑ה וַיָּ֖מֶת גַּם־ אֹתֽוֹ׃