Joseph has been sold into slavery and finds himself in Egypt; we will come back to him, but for now, we are back with his family. A family full of moral disorder, and this chapter will show us that, but it’s not a comfortable read.
“At that time, Judah left his brothers and went down to stay with a man of Adullam named Hirah. 2 There Judah met the daughter of a Canaanite man named Shua. He married her and made love to her; 3 she became pregnant and gave birth to a son, who was named Er. 4 She conceived again and gave birth to a son and named him Onan. 5 She gave birth to still another son and named him Shelah. It was at Kezib that she gave birth to him. 6 Judah got a wife for Er, his firstborn, and her name was Tamar. 7 But Er, Judah’s firstborn, was wicked in the Lord’s sight; so the Lord put him to death. 8 Then Judah said to Onan, “Sleep with your brother’s wife and fulfill your duty to her as a brother-in-law to raise up offspring for your brother.” 9 But Onan knew that the child would not be his; so whenever he slept with his brother’s wife, he spilled his semen on the ground to keep from providing offspring for his brother. 10 What he did was wicked in the Lord’s sight; so the Lord put him to death also.” (Genesis 38 v 1-10)
Judah left his brothers. These four words reveal perhaps the state of his heart. He has seen his brother sold into slavery and then his father being lied to about his death. But there is something else beneath the leaving. It was Judah who proposed selling Joseph in the first place (Genesis 37:26-27). He didn’t just witness a tragedy — he helped engineer it. He left carrying that guilt. So he separates himself from his family and from God. He befriends a Canaanite and moves into his house, then marries a Canaanite woman. Each of these decisions reveals a spiritual drifting away from God — the kind of drift that often begins with a guilty conscience and an unwillingness to face what we have done.
Genesis 38 is not an easy read. We are told little details at times.
Er, “was wicked in the Lord’s sight” — and that is all. We are given nothing else. Whatever the wickedness was, God took it seriously, and Er was no more.
We are told more about Onan. The outcome was the same; God killed him, too. The reason was that he found a way to take the privilege and not the responsibility, v9. Onan took the privilege (sleeping with Tamar, his dead brother’s wife) but not the responsibility (the law of levirate marriage — fathering children with the wife of his dead brother to preserve the name). Onan died because of his deception and contempt for his dead brother. Onan wanted the privilege but not the cost.
And we should not pass over Tamar too quickly. She is introduced in verse 6, named — which itself is significant — and already by verse 10 she has been widowed twice through no fault of her own. She is a woman caught inside a system she cannot control, wronged first by Er, then exploited by Onan, who used her while deliberately denying her the protection and future she was owed. She could not expose him. She had no recourse. But her story is not over, and God has not forgotten her.
God sees everything. We don’t know why Er died, except that he had done something wicked. We know why Onan died. No one else did except Tamar, and she would not expose him. But God knew why. The hidden deception, God saw it all. God sees everything.

