Quoted word for word, in order of authority: the Church's councils, popes and catechisms first, then the Fathers, then later saints and Doctors, then Catholic commentators.
Catholic commentators
Fr. George Leo Haydock
Priest and commentator · 1774 to 1849
Explains this verse
Wicked; without shame or remorse, sinning against nature, in order, if we may believe the Jews, that the beauty of his wife might not be impaired by having children. Onan was actuated by envy. M.
Haydock Catholic Bible Commentary (1859), note on Genesis 38:7
To cite this page: The Summa, “Genesis 38:7”, https://thesumma.org/read/bible/ot/genesis/38/7. Every quotation names its source; where each text comes from is listed on Sources and corrections.
Genesis 38:7: what the Church says (Councils, Fathers, Doctors) · The Summa