Day 40 – Integrity and Imprisonment
When Righteousness Leads to Suffering
However you can engage today, we’re here. Read, listen or both.
The written portion gives an overview, with verses broken down into smaller bites, and journaling/prayer prompts for reflection. In the podcast, Steve Traylor reflects on today’s passage with Scripture reading, a deeper pastoral teaching, and prayer (about 15 minutes). Perfect for morning coffee, commutes, or when your eyes need a rest.
Genesis 39:1–23
Step into this day knowing: sometimes doing what’s right still costs you dearly.
Joseph has already been betrayed by his brothers, sold into slavery, torn from his father and his home.
Now he faces a different kind of trial.
Sexual temptation. False accusation. Prison.
If you’ve ever suffered for doing the right thing—if you’ve been falsely accused, punished for integrity, or imprisoned by circumstances beyond your control—this passage is for you.
Joseph’s story doesn’t promise that righteousness protects you from suffering.
But it does promise this: The LORD is with you—even in prison.
1. Blessing and Betrayal
Genesis 39:1–6
Joseph was brought down to Egypt. Potiphar, an officer of Pharaoh’s, the captain of the guard, an Egyptian, bought him from the hand of the Ishmaelites that had brought him down there. 2 Yahweh was with Joseph, and he was a prosperous man. He was in the house of his master the Egyptian. 3 His master saw that Yahweh was with him, and that Yahweh made all that he did prosper in his hand. 4 Joseph found favor in his sight. He ministered to him, and Potiphar made him overseer over his house, and all that he had he put into his hand. 5 From the time that he made him overseer in his house, and over all that he had, Yahweh blessed the Egyptian’s house for Joseph’s sake. Yahweh’s blessing was on all that he had, in the house and in the field. 6 He left all that he had in Joseph’s hand. He didn’t concern himself with anything, except for the food which he ate.
Joseph was well-built and handsome.
The LORD was with Joseph.
In slavery. In a foreign land. In the house of an Egyptian master.
Still—the LORD was with him.
And because God was with Joseph, everything he touched prospered.
Potiphar noticed.
Not just Joseph’s competence, but the source of it: “His master saw that the LORD was with him” (Genesis 39:3).
Even unbelievers can recognize when God is working in someone’s life.
Potiphar put Joseph in charge of everything he owned.
Complete trust. Complete responsibility.
This is God’s pattern: faithfulness in small things leads to responsibility in greater things (Luke 16:10).
But the final verse signals trouble ahead: “Now Joseph was well-built and handsome.”
In Scripture, this kind of physical description often precedes temptation or danger.
And it does here.
Journaling/Prayer: Where has God placed you that you didn’t choose? What responsibilities has He given you in circumstances you never wanted?
If you’re serving faithfully in a place you never planned to be, you’re walking in Joseph’s footsteps.
God’s presence is not limited to the places we choose. He is with His people wherever He places them.
Ask Him: “LORD, teach me to serve You faithfully here. Not because I chose this place, but because You are with me in it.”
2. Temptation and the Fear of God
Genesis 39:7–12
7 After these things, his master’s wife set her eyes on Joseph; and she said, “Lie with me.”
8 But he refused, and said to his master’s wife, “Behold, my master doesn’t know what is with me in the house, and he has put all that he has into my hand. 9 No one is greater in this house than I am, and he has not kept back anything from me but you, because you are his wife. How then can I do this great wickedness, and sin against God?”
10 As she spoke to Joseph day by day, he didn’t listen to her, to lie by her, or to be with her. 11 About this time, he went into the house to do his work, and there were none of the men of the house inside. 12 She caught him by his garment, saying, “Lie with me!”
He left his garment in her hand, and ran outside.
Day after day, Potiphar’s wife propositioned Joseph.
Day after day, he refused.
Notice Joseph’s reasons—he gives three:
First, loyalty to Potiphar: “My master has entrusted everything to me” (Genesis 39:8).
Second, respect for marriage: “You are his wife” (Genesis 39:9).
Third—and most important—the fear of God: “How then can I do this great wickedness, and sin against God?” (Genesis 39:9).
Joseph’s integrity flowed from a high view of God’s holiness.
He didn’t say, “This would hurt me.”
He didn’t say, “This would damage my reputation.”
He said: “This would be sin against God.”
This is the heart of integrity: a sustained awareness that God sees everything, and God’s holiness demands obedience.
“The eyes of the LORD are in every place, keeping watch on the evil and the good” (Proverbs 15:3).
Joseph could have rationalized: No one will know. I’m far from home. I’ve already lost everything—what else do I have to lose?
But Joseph knew: God would know.
And that was enough.
When Potiphar’s wife finally grabbed his cloak and demanded he sleep with her, Joseph didn’t negotiate.
He didn’t reason with her.
He didn’t try to explain one more time.
He ran.
“Flee sexual immorality” (1 Corinthians 6:18).
Sometimes the only safe response to temptation is to run.
Not because you’re strong enough to resist if you stay, but because you’re wise enough to know you’re not.
Journaling/Prayer: What temptation are you facing that requires flight, not just resistance? Where have you been lingering near sin instead of fleeing from it?
Sexual temptation is powerful. It promises pleasure, connection, relief from loneliness.
But it delivers shame, brokenness, and distance from the holy God.
The way to fight sexual sin is not to negotiate with it, but to run from it.
If you’re facing this kind of pressure, ask God: “Give me the fear of You that values Your holiness more than my desires. Give me the courage to flee—even if it costs me.”
He will honor that prayer.
3. Accusation and Unjust Suffering
Genesis 39:13–20
13 When she saw that he had left his garment in her hand, and had run outside, 14 she called to the men of her house, and spoke to them, saying, “Behold, he has brought a Hebrew in to us to mock us. He came in to me to lie with me, and I cried with a loud voice. 15 When he heard that I lifted up my voice and cried, he left his garment by me, and ran outside.” 16 She laid up his garment by her, until his master came home. 17 She spoke to him according to these words, saying, “The Hebrew servant, whom you have brought to us, came in to me to mock me, 18 and as I lifted up my voice and cried, he left his garment by me, and ran outside.”
19 When his master heard the words of his wife, which she spoke to him, saying, “This is what your servant did to me,” his wrath was kindled. 20 Joseph’s master took him, and put him into the prison, the place where the king’s prisoners were bound, and he was there in custody.
Joseph fled.
He did the right thing.
And it cost him everything.
Potiphar’s wife, spurned and furious, lied.
She used Joseph’s cloak—evidence of his integrity—as proof of assault.
She framed him.
And Potiphar believed her.
Joseph, the faithful servant, the one who had brought blessing to the entire household, was thrown into prison.
Let that sink in.
Doing what’s right does not guarantee protection from consequences.
Joseph resisted temptation. He honored God. He fled immorality.
And he was punished for it.
This is the reality Scripture does not hide: sometimes the righteous suffer while the wicked prosper (Psalm 73:3-14).
God does not promise that obedience will shield you from injustice in this fallen world.
But He does promise that He sees the truth—even when no one else does (Psalm 34:15).
And He promises that He will be with you in the suffering (Isaiah 43:2).
If you’ve been falsely accused, understand this: God calls you to trust His justice, not to manufacture your own vindication. Seek wise counsel. Speak truth when given opportunity. But recognize that sometimes God’s plan includes seasons of unjust suffering that He will use for purposes you cannot yet see. Joseph’s vindication came—but only after years of waiting.
Journaling/Prayer: Have you suffered consequences for doing what was right? Have you been misunderstood, slandered, or punished for integrity?
Believers sometimes suffer unjustly in this fallen world. Joseph did. Christ did. You may too.
But God has not abandoned you.
Bring your grief to Him—not in accusation, but in surrender: “LORD, You see the truth even when others don’t. I trust You with my vindication. I trust You with the timing. Help me honor You even in this injustice.”
4. Prison and Providence
Genesis 39:21–23
21 But Yahweh was with Joseph, and showed kindness to him, and gave him favor in the sight of the keeper of the prison. 22 The keeper of the prison committed to Joseph’s hand all the prisoners who were in the prison. Whatever they did there, he was responsible for it. 23 The keeper of the prison didn’t look after anything that was under his hand, because Yahweh was with him; and that which he did, Yahweh made it prosper.
Joseph is in prison.
Unjustly. Unfairly. Alone.
But the text repeats the same refrain we saw at the beginning:
“The LORD was with Joseph.”
Not just in Potiphar’s house, where things were going well.
But here. In prison. In the darkness.
The LORD was with him.
And because God was with Joseph, he found favor even there.
The prison keeper put Joseph in charge of all the prisoners.
Same pattern: faithfulness in hardship leads to responsibility.
God doesn’t always remove the trial.
But He is present in it.
And He is sovereignly using it for purposes that will only become clear later.
Joseph doesn’t know it yet, but this prison is not the end of his story.
It is preparation.
Here, Joseph will meet Pharaoh’s cupbearer and baker (Genesis 40).
Here, God will position Joseph for the moment when Pharaoh needs a dream interpreted (Genesis 41).
Here, in this place of injustice and waiting, God is preparing Joseph to save nations.
God’s sovereignty means that nothing—not slavery, not temptation, not false accusation, not prison—can thwart His purposes.
Your circumstances may be unjust. But God is still sovereign. And He does not waste suffering.
Journaling/Prayer: Where are you waiting for God to act? What injustice are you enduring that feels purposeless?
If you’re in a season of unjust suffering, of waiting for vindication that hasn’t come—
Submit your circumstances to God’s sovereign purposes.
Not because you understand them. But because you trust Him.
Ask Him: “LORD, I don’t see the purpose in this. But I trust that You are sovereign. Use this suffering for Your glory. Don’t let it be wasted.”
Summary
Today we saw Joseph face three trials:
Blessing in Potiphar’s house—God’s favor even in slavery.
Temptation from Potiphar’s wife—integrity rooted in the fear of God, choosing holiness over immediate gratification.
Imprisonment for doing what was right—suffering injustice, yet experiencing God’s presence and sovereign purpose even there.
Joseph’s story teaches a hard truth: Righteousness does not guarantee protection from suffering in this fallen world.
You can do everything right and still lose everything.
You can resist temptation and still be punished.
You can honor God and still end up in prison.
But here’s the promise that sustains:
“The LORD was with Joseph.”
In slavery. In temptation. In prison.
God did not rescue Joseph from these trials immediately.
But God was present in them.
And God was sovereignly using them—preparing Joseph for purposes he could not yet see.
And Joseph’s story points us forward to a greater reality:
One would come who also resisted temptation perfectly, was falsely accused, suffered unjustly, and was imprisoned for righteousness.
Jesus Christ, the truly righteous One, was condemned though innocent, crucified though blameless.
But God raised Him from the dead and exalted Him to the highest place (Philippians 2:8-11).
Joseph foreshadows Christ: the suffering servant whom God vindicated.
And if you belong to Christ, God promises: your suffering is not meaningless. Your waiting is not wasted. He is with you—and He will vindicate His own in His perfect timing.
Action / Attitude for Today
Walk through today carrying this truth: God’s presence and holiness matter more than your circumstances.
If you’re facing sexual temptation, choose today to flee, not linger.
If you’ve been falsely accused or punished for doing what’s right, choose today to trust God with the timing of your vindication.
If you’re waiting in circumstances that feel like prison, choose today to believe that God is sovereignly using this season for purposes you cannot yet see.
Say this prayer:
“LORD, I submit to Your sovereign purposes—even in this trial. I don’t understand why obedience led here. But I trust that You are with me. You see the truth. You will vindicate Your own in Your timing. Help me honor You in the waiting.”
That’s enough.
Because the God who was with Joseph in Potiphar’s house was also with him in Pharaoh’s prison.
The God who raised Christ from the dead will also vindicate His people.
And the same God is with you—wherever you are.
He will not leave you.
And He will not waste this season.
The Bible for the Broken is published by Aurion Press LLC. © Aurion Press LLC. All rights reserved.


