Bible verses about Onan
From Nave's Topical Bible
World English Bible (WEB) — Public Domain
Killed for his refusal to raise seed (offspring) for his deceased brother
She conceived again, and bore a son; and she named him Onan.
Judah said to Onan, “Go in to your brother’s wife, and perform the duty of a husband’s brother to her, and raise up offspring for your brother.” Onan knew that the offspring wouldn’t be his; and when he went in to his brother’s wife, he spilled his semen on the ground, lest he should give offspring to his brother. The thing which he did was evil in the LORD’s sight, and he killed him also.
The sons of Judah: Er, Onan, Shelah, Perez, and Zerah; but Er and Onan died in the land of Canaan. The sons of Perez were Hezron and Hamul.
The sons of Judah: Er and Onan. Er and Onan died in the land of Canaan.
The sons of Judah: Er, Onan, and Shelah, which three were born to him of Shua’s daughter the Canaanitess. Er, Judah’s firstborn, was wicked in the LORD’s sight; and he killed him.