Joseph and Potiphar's Wife: Lessons on Temptation
Key takeaways
- Joseph refused his master’s wife and named two reasons, his master’s trust and sin against God, so settle your own reasons before the moment comes.
- Put distance between yourself and the trigger, as Joseph did when he left his garment behind and ran outside.
- Expect the pressure to return, since the text says the woman spoke to Joseph day by day.
- Doing right did not bring Joseph an easy outcome: he was sent to prison, and the text says God was with him there.
- The research on distance and planning concerns general goals and everyday desires rather than porn, so treat it as support for your plan, not as proof.
On this page
- Joseph and Potiphar’s Wife at a Glance
- What Happened Between Joseph and Potiphar’s Wife?
- Who Was Joseph When Potiphar’s Wife Tempted Him?
- Why Did Joseph Refuse Potiphar’s Wife?
- What Does “Day by Day” Teach About Repeated Temptation?
- Why Did Joseph Run From Potiphar’s Wife?
- What Happened After Joseph Did the Right Thing?
- What Can We Learn From Joseph and Potiphar’s Wife Today?
- Why Do Porn Cues Pull So Hard?
- What Do Christian Confessions Teach About Fleeing Temptation?
- What If You Didn’t Run?
- When to Get Help
- The Bottom Line
- Sources
Joseph and Potiphar’s wife is the story in Genesis 39. Joseph refuses his master’s wife, leaves his garment in her hand and runs outside, and the chapter shows God with him even in prison.
This guide tells the story in order, then turns to what it can teach a Christian man fighting lust and porn. For the wider picture, start with how to overcome lust. Genesis 39 says nothing about porn, screens or recovery, so every application below is labeled as one.
Joseph and Potiphar’s Wife at a Glance
| Question | Short answer |
|---|---|
| Where is the story in the Bible? | Genesis 39, after the sale that begins in Genesis 37. |
| Who was Potiphar? | An Egyptian officer of Pharaoh and the captain of the guard, who bought Joseph. |
| What did his wife ask? | That Joseph lie with her. |
| How did Joseph answer? | He refused, naming his master’s trust and calling the act a sin against God. |
| What did Joseph do when she grabbed him? | He left his garment in her hand and ran outside. |
| What happened next? | She accused him, he was put in prison, and the text says God was with him there. |
| Does the story mention porn? | No. It says nothing about porn, screens or recovery. |
| What can men learn from it? | Settle your reasons, keep your distance and expect pressure to return. These are applications. |
What Happened Between Joseph and Potiphar’s Wife?
The story moves through five stages: Joseph is trusted in Potiphar’s house, his master’s wife makes her request, Joseph refuses and runs, he is accused and imprisoned, and God remains with him.
Genesis 37 tells how Joseph’s brothers sold him. Genesis 39 then names the man who bought him in Egypt: Potiphar, “an officer of Pharaoh’s, the captain of the guard, an Egyptian” (Genesis 39:1, WEB).
The first part is about trust. “Yahweh was with Joseph, and he was a prosperous man” (Genesis 39:2, WEB), and Potiphar “left all that he had in Joseph’s hand” (Genesis 39:6, WEB). That trust explains what Joseph is refusing to betray.
Genesis 39:7-12 (WEB)
After these things, his master’s wife set her eyes on Joseph; and she said, “Lie with me.” 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. 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?” As she spoke to Joseph day by day, he didn’t listen to her, to lie by her, or to be with her. About this time, he went into the house to do his work, and there were none of the men of the house inside. She caught him by his garment, saying, “Lie with me!”
He left his garment in her hand, and ran outside.
She then built her account against him. She called the men of her house and told them that a Hebrew had been brought in to mock them, and she kept Joseph’s garment until his master came home (Genesis 39:13-16, WEB). When Potiphar heard her account, “his wrath was kindled,” and he put Joseph into the prison where the king’s prisoners were bound (Genesis 39:19-20, WEB).
Then comes God’s presence: “But Yahweh was with Joseph, and showed kindness to him, and gave him favor in the sight of the keeper of the prison” (Genesis 39:21, WEB). The keeper gave Joseph charge of all the prisoners in the prison (Genesis 39:22, WEB).
Who Was Joseph When Potiphar’s Wife Tempted Him?
Joseph was a “Hebrew servant” in Potiphar’s house, bought by his master and trusted with real responsibility. Read in context, refusing his master’s wife carried real risk.
Potiphar bought Joseph (Genesis 39:1, WEB), and when his wife accuses him, she calls him “The Hebrew servant” (Genesis 39:17, WEB). Joseph was also trusted: his master saw that Yahweh was with him and made him overseer over his house (Genesis 39:3-4, WEB).
Read that way, refusing carried real risk, as the accusation and prison show. That is a reading of the text, since Genesis does not say whether refusing could have been done safely.
Genesis gives Joseph’s age at two points, but not for this period. He was “seventeen years old” before the sale (Genesis 37:2, WEB) and thirty when he stood before Pharaoh (Genesis 41:46, WEB). It gives no age, and no length of time, for his years in Potiphar’s house or in prison. Genesis 41:1 mentions “two full years,” but the text does not say when they began (Genesis 41:1, WEB).
Why Did Joseph Refuse Potiphar’s Wife?
Joseph gave two reasons: his master had trusted him with everything, and the act would be “great wickedness” and a sin against God.
First, Joseph points to his master’s trust. He says Potiphar has kept back nothing from him “but you, because you are his wife” (Genesis 39:9, WEB), so the request would break faith with a man who had placed all he had in Joseph’s hands. Second, he names the act itself as “great wickedness” and as a “sin against God,” which turns the refusal toward God as well as toward Potiphar.
Applied to porn, that means settling your reasons before the moment arrives. Whether watching porn is a sin covers how Christians apply Scripture to porn itself.
What Does “Day by Day” Teach About Repeated Temptation?
The text says the pressure came “day by day,” so expect repetition and plan for it. One refusal does not mark the end of the fight.
Genesis 39:10 gives no number of days, months or years. It says only that she spoke to Joseph “day by day,” and that he would not listen “to lie by her, or to be with her” (Genesis 39:10, WEB). He refused closeness as well as the request. Samson faced the same daily pressing from Delilah and gave way, as the story of Samson and Delilah shows.
Proverbs gives the same practical advice about distance: “Remove your way far from her. Don’t come near the door of her house” (Proverbs 5:8, WEB). Proverbs 5 is wisdom poetry addressed to “my son,” so read it as prevention advice, not a description of porn or screens.
In one experience sampling study, 205 adults wore beepers for a week and produced 7,827 reports of desire episodes (Hofmann et al., 2012). The authors wrote that urges that do conflict with other goals “tend to elicit resistance, with uneven success.” That research concerns everyday desires in general and relies on self-report.
For porn, the lesson is practical: expect the pull to return on tired, lonely or stressful days, and decide your response before it does. The HALT check for hunger, anger, loneliness and tiredness helps you name the need behind a hard hour.
Why Did Joseph Run From Potiphar’s Wife?
Joseph did not stay in the room. He left his garment in her hand and ran outside, and Paul later writes, “Flee sexual immorality!”
Genesis 39:12 does not use the word flee. It says Joseph “ran outside” (Genesis 39:12, WEB). Paul’s command comes in 1 Corinthians 6, where he writes, “Flee sexual immorality!” (1 Corinthians 6:18, WEB). That passage concerns sex with a prostitute (1 Corinthians 6:15-17, WEB), so connecting it to Joseph, and to porn, is an application.
Paul also tells Timothy to “flee from youthful lusts” and to pursue “righteousness, faith, love, and peace with those who call on the Lord out of a pure heart” (2 Timothy 2:22, WEB). The verse does not define youthful lusts as sexual, and the positive step is taken with others.
Duckworth, Gendler and Gross describe “proactively choosing or changing situations in ways that weaken undesirable impulses or potentiate desirable ones,” and they suggest such strategies “may be especially effective in preventing undesirable action” (Duckworth et al., 2016). That work is an argument, not an outcome study. No study has tested whether leaving a tempting situation works better than resisting it for porn use.
In practice, fleeing means changing the situation rather than relying on willpower alone. What fleeing sexual immorality means covers the command’s wider context.
What Happened After Joseph Did the Right Thing?
Doing right did not bring Joseph a quick reward. He was imprisoned, and the story turns only later, when he reads what happened to him as part of God’s plan.
The road out of prison was long. Eventually Pharaoh sets him over Egypt, saying, “Behold, I have set you over all the land of Egypt” (Genesis 41:41, WEB). When his brothers come before him, Joseph tells them, “God sent me before you to preserve life” (Genesis 45:5, WEB). In Genesis 50, he reassures them: “you meant evil against me, but God meant it for good” (Genesis 50:20, WEB).
Later texts summarize the sale without the temptation. Psalm 105:17 puts it in one line: “He sent a man before them. Joseph was sold for a slave.” Stephen’s speech in Acts says the patriarchs, “moved with jealousy against Joseph,” sold him, and adds, “God was with him” (Acts 7:9, WEB). Neither passage mentions Potiphar’s wife.
The application is that faithfulness can cost something, and the reward is not yours to schedule. Do not promise yourself success, relief or visible approval by next week. What the text shows is God present in the hard place.
What Can We Learn From Joseph and Potiphar’s Wife Today?
Genesis 39 does not mention porn, so these lessons are applications of what Joseph did and what the text says.
-
Settle your reasons before the moment. Joseph named his master’s trust and his sin against God. Write your own reasons, such as your spouse, your integrity and your relationship with God, and read them before your riskiest hour.
-
Keep your distance from the door. Proverbs 5:8 says, “Don’t come near the door of her house” (Proverbs 5:8, WEB). For porn, that can mean keeping devices out of the bedroom and not testing how close you can come to a trigger.
-
Notice when you are alone with the trigger. The text says there were “none of the men of the house inside” when Joseph went in to do his work (Genesis 39:11, WEB). For you, it may mean planning for empty hours, such as late nights when nobody is around.
-
Leave quickly, even if it costs you something. Joseph left his garment in her hand and ran outside. For you, leaving may mean closing the browser or putting your phone in another room, even when it costs a half-finished session or an awkward explanation. Setting up blocks from how to block porn can make leaving easier.
-
Make an if-then plan. An if-then plan names a cue and a response in advance. A meta-analysis of 94 independent tests found that such plans had a positive effect of medium-to-large magnitude (d = .65) on goal attainment (Gollwitzer & Sheeran, 2006). Those tests concerned general goals, not sexual temptation, and the authors note that a strong goal intention “does not guarantee goal achievement.”
-
Expect pressure to return. The woman spoke to Joseph “day by day” (Genesis 39:10, WEB). Plan for the second and third time, not only the first. Urge surfing shows how to watch an urge rise and fall without acting on it.
-
Stay faithful when no one sees and when it costs you. Joseph’s flight was followed by an accusation and prison. Faithfulness is often tested when no one is watching and may bring no quick reward, so keep your commitments and pray honestly.
Why Do Porn Cues Pull So Hard?
Brain studies find strong reactions to sexual cues, and some of those reactions are greater in people with compulsive sexual behavior or problematic porn use. These were lab studies of associations, so they cannot show that porn caused the reactions.
In a 2014 functional MRI study, 19 people with compulsive sexual behaviors and 19 healthy volunteers watched sexually explicit videos and non-sexual exciting videos. The first group had greater desire but similar liking scores for the explicit videos, and, compared with the volunteers, sexual cues were associated with greater activation in the dorsal anterior cingulate, ventral striatum and amygdala (Voon et al., 2014).
A 2016 study of 19 heterosexual men found that the ventral striatum responded more strongly to pornographic pictures the men preferred, and that this response correlated with self-reported symptoms of Internet pornography addiction (Brand et al., 2016). A correlation with self-report does not show cause, and the word “addiction” in the title is the paper’s label for a symptom score.
A 2017 study compared 28 heterosexual men seeking treatment for problematic pornography use with 24 heterosexual men without it. The groups differed in their striatal responses to cues that predicted erotic pictures, though not in their responses to the pictures themselves (Gola et al., 2017). The design was cross-sectional, and the cue task measured anticipation, or “wanting,” not avoidance.
Keeping strong cues out of reach is an application drawn from these findings, not a conclusion they reached. For whether porn addiction is a recognized diagnosis, see is porn addiction real?
What Do Christian Confessions Teach About Fleeing Temptation?
Protestant confessions treat avoiding occasions of sin as a duty, and they forbid whatever may incite someone to sexual sin.
The Westminster Larger Catechism, a 1647 Presbyterian standard rather than a current denominational statement, lists “shunning all occasions of uncleanness, and resisting temptations thereunto” among the duties of the seventh commandment (Question 138).
The Heidelberg Catechism (Q&A 109) forbids “all unchaste actions, looks, talk, thoughts, or desires, and whatever may incite someone to them.” Applied to porn, that includes the searches and feeds that lead you toward those looks.
Together, these standards reach past the act itself to the senses, thoughts and desires, so a refusal in the moment is only part of the work.
Ask your pastor how your church applies these teachings to your struggle.
What If You Didn’t Run?
Joseph is a model, not a measuring stick. If you did not run last time, turn back honestly, confess and resolve to take the next step.
Hebrews says Jesus was “tempted like we are, yet without sin” (Hebrews 4:15, WEB). The verse separates temptation from sin without calling temptation harmless. An urge you refuse is not sin, even when it is strong.
The Heidelberg Catechism (Q&A 89) describes dying the old self as “to be genuinely sorry for sin and more and more to hate and run away from it.” Let that sorrow lead you to the next practical step.
If you slipped, you do not need to wait until you feel worthy before acting. Stop the episode, name what happened and take the next practical step. What to do after a porn relapse covers the first 24 hours and a prevention plan, and the prayers for the hours after a slip give you words for that hour. David did not turn away from the roof, yet the story of David and Bathsheba shows that confession was still open to him once Nathan named his sin.
When to Get Help
Talk with a pastor about the spiritual side of your struggle, and see a qualified therapist when porn use keeps slipping out of your control or harms your work, sleep or relationships.
A pastor can pray with you, read Scripture with you and explain your church’s teaching. A qualified therapist can assess your use and help you build a plan. Prayer belongs alongside that care, not in place of it.
Watch for one pattern: if you keep checking whether each look or thought was a sin, confess the same thing again and again, or seek reassurance until the relief fades, bring it to a therapist and a trusted spiritual adviser. Repeated anxious praying is a sign to ask for practical help, not a sign to pray harder.
If porn use continues despite your efforts, ask a doctor or qualified therapist to assess it. The porn addiction treatment guide explains professional options. If shame or distress feels overwhelming, or you have thoughts of harming yourself, call or text 988 (the Suicide & Crisis Lifeline in the US), or your local emergency number.
The Bottom Line
- Know the story. Joseph refused his master’s wife, ran outside and was imprisoned, and the text shows God with him there.
- Settle your reasons. He named his master’s trust and his sin against God, so decide your own reasons before the next urge.
- Plan for the return. Expect pressure to come back, and plan distance and an if-then response in advance.
- Expect grace, not a guarantee. Doing right did not bring Joseph an easy outcome, so do not treat faithfulness as a bargain with God.
- Get support. A pastor and a qualified therapist can work alongside your faith.
If you want structure alongside this reading, TrueAlly’s Strong urge gives you support for the next step when an urge hits, and the optional “Christ-centered, science-based” lens adds three short prayers under “Pray.”
Sources
- World English Bible, public domain. Genesis 37:2, Genesis 39:1, Genesis 39:2, Genesis 39:3-4, Genesis 39:6, Genesis 39:7-12, Genesis 39:9, Genesis 39:10, Genesis 39:11, Genesis 39:12, Genesis 39:13-16, Genesis 39:17, Genesis 39:19-20, Genesis 39:21, Genesis 39:22, Genesis 41:1, Genesis 41:41, Genesis 41:46, Genesis 45:5, Genesis 50:20, Psalm 105:17, Acts 7:9, 1 Corinthians 6:15-17, 1 Corinthians 6:18, 2 Timothy 2:22, Proverbs 5:8, and Hebrews 4:15. Public-domain Scripture translation.
- Westminster Standards, Orthodox Presbyterian Church copy. Westminster Larger Catechism, Q. 138.
- Reformed Church in America. Heidelberg Catechism, Lord’s Day 41, Q&A 109.
- Reformed Church in America. Heidelberg Catechism, Lord’s Day 33, Q&A 89.
- Duckworth, A. L., Gendler, T. S., & Gross, J. J. (2016). Situational strategies for self-control. Perspectives on Psychological Science, 11(1), 35–55.
- Hofmann, W., Baumeister, R. F., Förster, G., & Vohs, K. D. (2012). Everyday temptations: An experience sampling study of desire, conflict, and self-control. Journal of Personality and Social Psychology, 102(6), 1318–1335.
- Gollwitzer, P. M., & Sheeran, P. (2006). Implementation intentions and goal achievement: A meta-analysis of effects and processes. Advances in Experimental Social Psychology, 38, 69–119.
- Voon, V., et al. (2014). Neural correlates of sexual cue reactivity in individuals with and without compulsive sexual behaviours. PLoS ONE, 9(7), e102419.
- Brand, M., Snagowski, J., Laier, C., & Maderwald, S. (2016). Ventral striatum activity when watching preferred pornographic pictures is correlated with symptoms of Internet pornography addiction. NeuroImage, 129, 224–232.
- Gola, M., et al. (2017). Can pornography be addictive? An fMRI study of men seeking treatment for problematic pornography use. Neuropsychopharmacology, 42(10), 2021–2031.
Frequently asked questions
Which chapter of the Bible is Joseph and Potiphar’s wife in?
Joseph and Potiphar’s wife appears in Genesis 39. The chapter follows Joseph’s sale into Egypt, which Genesis 37 describes, and it runs from Potiphar’s trust in Joseph to Joseph’s imprisonment, ending with God’s presence with him in prison. Read the whole chapter, since the refusal makes more sense in its setting.
What was Potiphar’s wife’s name?
Genesis 39 never names her. It calls her his master’s wife and gives her no name. Later tradition supplied a name, but the Bible does not, so this guide does not repeat it. Any name you find elsewhere comes from outside Scripture, and the story does not depend on it.
How old was Joseph when Potiphar’s wife tempted him?
The Bible does not say. Genesis gives Joseph’s age as seventeen before his brothers sold him and as thirty when he stood before Pharaoh, but it gives no age for his years in Potiphar’s house. Any specific number for that period would be a guess.
Why did Joseph leave his garment?
Genesis 39 says he left his garment in her hand and ran outside, but it does not give his reason for leaving it behind. She kept the garment and used it in her account to the men of her house and to her husband. What the text shows is that he ran outside rather than staying in the room.
Did Potiphar believe his wife?
Genesis does not say what Potiphar believed. It reports that his wrath was kindled when he heard her words and that he put Joseph into the prison where the king’s prisoners were bound. The text gives no further word about his thinking, so anything more would be a guess.
Did Joseph sin with Potiphar’s wife?
No. Genesis 39 records Joseph refusing her request, naming his master’s trust and sin against God as his reasons, and then running outside. Joseph’s own words show that he saw the act as great wickedness and a sin against God. The chapter does not record any sexual act between them.
What does Joseph’s story teach married men?
The text does not speak to married men directly. It does show that Joseph refused because the woman was another man’s wife and because his master had trusted him. A married man can apply that by settling his reasons early, keeping his distance and treating faithfulness to his spouse as a decision made before temptation arrives.
How long was Joseph in prison?
Genesis does not say how long Joseph was in prison. Genesis 41:1 says Pharaoh dreamed at the end of two full years, but it does not say when those years began. Any total for Joseph’s imprisonment would be an inference, not a statement of the text.