Cross References → Genesis 38:10

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

wicked in the sight of the LORD

Numbers 11:1
Soon the people began to complain about their hardship in the hearing of the LORD, and when He heard them, His anger was kindled, and fire from the LORD blazed among them and consumed the outskirts of the camp.
Numbers 22:34
“I have sinned,” Balaam said to the angel of the LORD, “for I did not realize that you were standing in the road to confront me. And now, if this is displeasing in your sight, I will go back home.”
2 Samuel 11:27
And when the time of mourning was over, David had her brought to his house, and she became his wife and bore him a son. But the thing that David had done was evil in the sight of the LORD.
1 Chronicles 21:7
This command was also evil in the sight of God; so He struck Israel.
Proverbs 14:32
The wicked man is thrown down by his own sin, but the righteous man has a refuge even in death.
Proverbs 24:18
or the LORD will see and disapprove, and turn His wrath away from him.
Jeremiah 44:4
Yet I sent you all My servants the prophets again and again, saying: ‘Do not do this detestable thing that I hate.’
Haggai 1:13
Haggai, the messenger of the LORD, delivered the message of the LORD to the people: “I am with you,” declares the LORD.

put Onan to death as well

Genesis 46:12
The sons of Judah: Er, Onan, Shelah, Perez, and Zerah; but Er and Onan died in the land of Canaan. The sons of Perez: Hezron and Hamul.
Numbers 26:19
The sons of Judah were Er and Onan, but they died in the land of Canaan.