Genesis 38:10

10 And what he did was displeasing in the sight of the LORD, and he slew him also.

Genesis 38:10 Meaning and Commentary

Genesis 38:10

And the thing which he did displeased the Lord
Being done out of envy to his brother, and through want of affection to the memory of his name; and it may be out of covetousness to get his estate into his own hands, and especially as it frustrated the end of such an usage of marrying a brother's wife; which appears to be according to the will of God, since it afterwards became a known law of his; and it was the more displeasing, as it was not only a check upon the multiplication of Abraham's seed as promised, but since the Messiah was to come from Judah. This was doing all to hinder it that lay in his power: wherefore he slew him also;
in like manner as he had slain his brother, ( Genesis 38:7 ) .

Genesis 38:10 In-Context

8 Then Judah said to Onan, "Go in to your brother's wife, and perform the duty of a brother-in-law to her, and raise up offspring for your brother."
9 But Onan knew that the offspring would not be his; so when he went in to his brother's wife he spilled the semen on the ground, lest he should give offspring to his brother.
10 And what he did was displeasing in the sight of the LORD, and he slew him also.
11 Then Judah said to Tamar his daughter-in-law, "Remain a widow in your father's house, till Shelah my son grows up" --for he feared that he would die, like his brothers. So Tamar went and dwelt in her father's house.
12 In course of time the wife of Judah, Shua's daughter, died; and when Judah was comforted, he went up to Timnah to his sheepshearers, he and his friend Hirah the Adullamite.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.