The LORD Was With Joseph: Faithfulness, Temptation, and the Presence of God in Genesis 39
- Stacey Ellertson

- May 10
- 4 min read
Genesis 39 is one of the most riveting chapters in the Joseph narrative. In just twenty-three verses, we watch a young Hebrew slave rise to manage an Egyptian household, resist a relentless seduction, suffer unjust imprisonment, and then rise again behind prison walls. But the chapter is not ultimately about Joseph's character — it is about the God who never leaves him.
The chapter is famously bookended by the same refrain: "The LORD was with Joseph" (v. 2) and "the LORD was with Joseph and showed him steadfast love" (v. 21). The narrator wants us to see that whether Joseph is being elevated or imprisoned, blessed or betrayed, the same God is present and at work.

From the Pit to Prosperity
Joseph's brothers sold him into slavery in chapter 37 with murderous hearts. By chapter 39, he is a slave in the house of Potiphar, captain of Pharaoh's guard. We as the reader are meant to feel the dissonance: this is the son of Jacob, heir of the covenant promises, scrubbing floors in a pagan household.
And yet, "the LORD was with him, and... the LORD caused all that he did to succeed in his hands" (v. 3). Potiphar notices. He promotes Joseph again and again until Joseph manages everything Potiphar owns. The narrative emphasizes Joseph's faithfulness in small things — and God's blessing on every increase of responsibility.
This is the first thread that ties the chapter to Joseph's later confession in Genesis 50:20: what the brothers meant for evil, God meant for good. The pit was not the end of the story. God used the very wickedness of Joseph's brothers as the means of placing him in the household where he would learn administration, language, and Egyptian culture — all preparation for the throne room of Pharaoh. The believer can take comfort here: the worst things done to us are not outside the providence of God working for us.
The Temptation That Would Not Quit
Then comes the test. "Joseph was handsome in form and appearance" (v. 6), and Potiphar's wife "cast her eyes on Joseph" (v. 7). Her command is brutal in its directness: "Lie with me."
Joseph's refusal is masterful theology compressed into a few sentences. He acknowledges Potiphar's trust, the privileges he has been given, and then names the deepest reason: "How then can I do this great wickedness and sin against God?" (v. 9). Joseph understands that sexual sin is never merely a private matter or a betrayal of a human relationship. It is, first and finally, an offence against a Holy God.
The text emphasizes that this was not a single moment of temptation. She spoke to him "day after day" (v. 10). Evil does not always strike like lightning; often it wears on us like waves on stone. And evil's strategy here, as it has always been, is to deceive and to destroy. In Eden it was a distorted desire for wisdom; here it is lust; for Achan it would be greed; for Judas it would be silver. The strategy adapts to the person; the goal is always the same.
It is impossible to read Genesis 39 without thinking of 2 Samuel 11. David, the king after God's own heart, saw Bathsheba bathing — and lingered. He inquired. He sent. He took. Joseph, the slave, saw temptation pursuing him — and fled. The contrast is searing: a king fell where a slave stood firm. The difference was not raw willpower but the steady habit of saying, with Joseph, "How can I sin against God?"
When she finally seized him, Joseph "left his garment in her hand and fled" (v. 12). Sometimes faithfulness looks dignified. Sometimes it looks like running out of the room without your coat. Paul would later command the same posture: "Flee from sexual immorality" (1 Cor. 6:18).
When Doing Right Costs You Everything
Joseph's reward for righteousness is a false accusation and a prison cell. The text does not flinch from the injustice. Doing right does not always lead to immediate vindication. Sometimes obedience leads down into deeper darkness before it leads up.
But the refrain returns: "the LORD was with Joseph and showed him steadfast love and gave him favor in the sight of the keeper of the prison" (v. 21). Again Joseph is given responsibility. Again he is faithful. Again God blesses. The same pattern repeats in a worse setting, because God's presence is not bound to comfortable circumstances. The Hebrew word translated "steadfast love" (hesed) is the same covenant love God shows to His people throughout the Old Testament. Even in a dungeon, Joseph is not forgotten by his God.
Lessons for Today
Three truths from this chapter still preach to us today.
First, God's presence is not measured by our circumstances.
Joseph was equally near to God in the master's house and in the dungeon. Hard providences are not signs of divine absence; they are often the very places where God's faithfulness is most clearly seen.
Second, faithfulness in small things prepares us for greater responsibility.
Joseph did not bypass slavery on his way to the palace; he was trained by it. The believer who is faithful with little will be entrusted with much (Luke 16:10). What feels like a holding pattern may be a classroom.
Third, sexual temptation must be fled, not negotiated.
Joseph did not stay to argue or test his own strength. He ran. Our culture mocks such caution as prudish, but Joseph's coat in another woman's hand is far better than David's regret on the palace roof.
What others intend for evil, God can weave into good. What evil offers as pleasure, God exposes as ruin. And through it all — in the pit, in the house, in the prison — the LORD is with His people.
Applying Joseph’s Example in Our Lives
Believers today can apply these lessons in practical ways:
When facing unfair treatment or setbacks, remember Joseph’s story and trust God’s plan.
Take responsibility seriously in work, family, and church, knowing God honors faithfulness.
Develop spiritual disciplines like prayer and Scripture reading to resist temptation.
Look for ways to serve others, even in challenging or lowly circumstances.
Joseph’s story encourages us to see struggles not as dead ends but as opportunities for God’s power to be revealed.
Final Thoughts on God’s Sovereignty in Our Struggles
Genesis 39 shows that God’s sovereignty is active in our struggles. Joseph’s faithfulness, integrity, and trust in God brought blessing despite betrayal, temptation, and imprisonment. His story challenges believers to remain faithful, resist sin, and trust God’s plan no matter the circumstances.



Comments