And Onan knew that they would not call the children after his name, and it was, when he entered to the wife of his brother, that he corrupted his work upon the earth, that he might not raise up children to his brother's name.
Why Onan Refused to Raise His Brother's Name
Targum Pseudo-Jonathan on Genesis 38:9