Onan was wicked because he refused to impregnate Tamar and thus give his brother descendants [Gen 38.8-10].
Ket awan ti naganenyo ti amayo itoy rabaw ti daga; ta maymaysa ti Amayo, isu nga adda sadi langit.”—Mateo 23:1-10, Ti Biblia, PBS.