Genesis 39
The Lord Was with Joseph
Sold into Egypt, Joseph is made steward of Potiphar’s house, refuses Potiphar’s wife, and is thrown into prison on her word. Through the house and the prison the narrator keeps saying one thing, that the LORD was with Joseph.
Start reading Background
Chapter 37 ended with Joseph sold into Egypt to Potiphar (Gen. 37:36). Chapter 38 turned aside to Judah, and chapter 39 picks up where chapter 37 stopped, repeating the sale in its first verse (for the traders, see Gen. 37:28). Joseph was seventeen when his brothers sold him (Gen. 37:2) and thirty when he stood before Pharaoh (Gen. 41:46). Genesis does not say how long each part of this chapter lasted, but altogether he spent “about 13 years in Potiphar’s house and in prison.” He was one of many slaves from the Levant in Egypt at the time: on one count, fifty-seven percent of the slaves in Egyptian lists of the period came from there.
Other scripture looks back on this chapter. A psalm says that in prison “the word of the Lord tried him” (Ps. 105:17–19), and Stephen says that when the patriarchs sold Joseph, “God was with him” (Acts 7:9–10). In the Book of Mormon Lehi calls himself “a descendant of Joseph who was carried captive into Egypt” (2 Ne. 3:4), and Nephi speaks of his father’s prophecies “concerning Joseph, who was carried into Egypt” (2 Ne. 4:1).
The chapter has five parts: Potiphar’s house (verses 1–6), the temptation (7–10), the garment and the accusation (11–18), the prison (19–20), and the LORD with Joseph in prison (21–23).
The thread through the chapter
Genesis 39 is built on a sentence the narrator says four times: “the LORD was with Joseph” (verses 2, 3, 21, 23). It begins the chapter, when Joseph has been brought down to Egypt and sold, and it begins the last scene, when he has been put down again, into a prison. Both times the man over him puts what he is responsible for into Joseph’s hand (verses 4, 22), and both times what Joseph does prospers. Between the two scenes are fifteen verses (6–20) in which the narrator does not name the LORD at all: the temptation, the flight, the false charge. Joseph himself speaks of God once there, and he says Elohim, “God,” to an Egyptian woman (verse 9). The chapter never says that the LORD kept Joseph out of prison. It says that He was with him before the accusation and after it.
The Hebrew word yad, “hand,” carries the story along. Six times something is “in Joseph’s hand” (verses 3, 4, 6, 8, 22, 23). The verb that says Potiphar “left” all that he had in Joseph’s hand (verse 6) is the verb that says Joseph “left” his garment in the woman’s hand (verse 12). Joseph is trusted with everything but one thing, and he leaves a garment behind rather than take it. The garment is then the only physical evidence against him.
The chapter also answers the one before it. In Genesis 38 Judah goes in to a woman he takes for a prostitute and is exposed by the signet, bracelets, and staff he left with her. In Genesis 39 Joseph runs from a woman and is condemned by a garment she kept. Set together, they make “a contrast between Judah’s immorality and Joseph’s righteousness.”
Tap any highlighted phrase to open a note beneath its versein the margin.
In Potiphar’s house
Joseph had been taken down to Egypt, where Potiphar, an Egyptian officer of Pharaoh and captain of the guard, bought him from the Ishmaelites who had brought him there. The Lord was with Joseph, and he was a successful man, living in the house of his Egyptian master. His master saw that the Lord was with him and made everything he did succeed. Joseph found favor with him and became his attendant, and Potiphar put him in charge of the household and everything he owned. From the time he put Joseph in charge, the Lord blessed the Egyptian’s household for Joseph’s sake, and the Lord’s blessing was on everything he had, in the house and in the field. So Potiphar left everything he had in Joseph’s care and, with Joseph there, concerned himself with nothing but the food he ate. Joseph was handsome in form and appearance.
1 And Joseph was brought down to Egypt; and Potiphar, an officer of Pharaoh, captain of the guard, an Egyptian, bought him of the hands of the Ishmeelites, which had brought him down thither.
2 And the LORD was with Joseph, and he was a prosperous man; and he was in the house of his master the Egyptian.
3 And his master saw that the LORD was with him, and that the LORD made all that he did to prosper in his hand.
4 And Joseph found grace in his sight, and he served him: and he made him overseer over his house, and all that he had he put into his hand.
5 And it came to pass from the time that he had made him overseer in his house, and over all that he had, that the LORD blessed the Egyptian’s house for Joseph’s sake; and the blessing of the LORD was upon all that he had in the house, and in the field.
6 And he left all that he had in Joseph’s hand; and he knew not ought he had, save the bread which he did eat. And Joseph was a goodly person, and well favoured.
Day after day
Some time later his master’s wife took notice of Joseph and propositioned him. He refused. “With me here,” he told her, “my master does not concern himself about anything in the house, and he has put everything he owns in my care. No one in this house is greater than I am. He has held back nothing from me except you, because you are his wife. How could I do such a great evil and sin against God?” She spoke to Joseph day after day, but he would not give in to her or even stay near her.
7 And it came to pass after these things, that his master’s wife cast her eyes upon Joseph; and she said, Lie with me.
8 But he refused, and said unto his master’s wife, Behold, my master wotteth not what is with me in the house, and he hath committed all that he hath to my hand;
9 There is none greater in this house than I; neither hath he kept back any thing from me but thee, because thou art his wife: how then can I do this great wickedness, and sin against God?
10 And it came to pass, as she spake to Joseph day by day, that he hearkened not unto her, to lie by her, or to be with her.
The garment
One day Joseph went into the house to do his work, and none of the household was there. She grabbed him by his garment and propositioned him again. He left the garment in her hand and ran out of the house. When she saw that he had left it in her hand and run outside, she called to the men of her household. “Look,” she said, “he has brought us a Hebrew to make sport of us! He came in to me, and I screamed. When he heard me scream, he left his garment beside me and ran outside.” She kept his garment beside her until his master came home, and then told him the same story: “The Hebrew slave you brought us came in to make sport of me. But when I screamed, he left his garment beside me and ran outside.”
11 And it came to pass about this time, that Joseph went into the house to do his business; and there was none of the men of the house there within.
12 And she caught him by his garment, saying, Lie with me: and he left his garment in her hand, and fled, and got him out.
13 And it came to pass, when she saw that he had left his garment in her hand, and was fled forth,
14 That she called unto the men of her house, and spake unto them, saying, See, he hath brought in an Hebrew unto us to mock us; he came in unto me to lie with me, and I cried with a loud voice:
15 And it came to pass, when he heard that I lifted up my voice and cried, that he left his garment with me, and fled, and got him out.
16 And she laid up his garment by her, until his lord came home.
17 And she spake unto him according to these words, saying, The Hebrew servant, which thou hast brought unto us, came in unto me to mock me:
18 And it came to pass, as I lifted up my voice and cried, that he left his garment with me, and fled out.
The prison
When Joseph’s master heard his wife say, “This is what your slave did to me,” his anger burned. He took Joseph and put him in the prison, the place where the king’s prisoners were held, and Joseph stayed there.
19 And it came to pass, when his master heard the words of his wife, which she spake unto him, saying, After this manner did thy servant to me; that his wrath was kindled.
20 And Joseph’s master took him, and put him into the prison, a place where the king’s prisoners were bound: and he was there in the prison.
The Lord with Joseph in prison
But the Lord was with Joseph and showed him kindness, and gave him favor with the keeper of the prison. The keeper put Joseph in charge of all the prisoners there, and whatever was done there, Joseph was the one who did it. The keeper paid no attention to anything in Joseph’s care, because the Lord was with Joseph, and whatever he did, the Lord made it succeed.
21 But the LORD was with Joseph, and shewed him mercy, and gave him favour in the sight of the keeper of the prison.
22 And the keeper of the prison committed to Joseph’s hand all the prisoners that were in the prison; and whatsoever they did there, he was the doer of it.
23 The keeper of the prison looked not to any thing that was under his hand; because the LORD was with him, and that which he did, the LORD made it to prosper.
Seeing Christ in Genesis 39
The One who was with Joseph in the house and in the prison is Jehovah, “the premortal Jesus Christ.”
Joseph’s trial has features of His. Joseph and Jesus both “overcame great temptation” and were “falsely accused of wickedness.” In Egypt Joseph “suffered the temptations that are the common lot of mortals, yet he did not give in to temptation but maintained his purity and integrity”; Hebrews says of Christ that He “was in all points tempted like as we are, yet without sin” (Heb. 4:15), and a revelation in this dispensation, “He suffered temptations but gave no heed unto them” (D&C 20:22). Joseph was accused by a woman whose one piece of physical evidence was a garment; the council that judged Jesus “sought false witness against Jesus, to put him to death” (Matt. 26:59).
The Lord’s counsel to another Joseph in prison, Joseph Smith in the jail at Liberty, Missouri, runs the same way. “The Lord explained the same principle to a latter-day Joseph,” Elder Kelly R. Johnson wrote of the two: “accused with all manner of false accusations,” “dragged to prison,” and yet “all these things shall give thee experience, and shall be for thy good.” Then comes the line that points past any prisoner: “The Son of Man hath descended below them all. Art thou greater than he?” (D&C 122:6–8).
Worth exploring next
- The next scene. Joseph in the same prison: Gen. 40 and Gen. 41:1–14.
- What Joseph says about these years. Gen. 41:51–52; Gen. 45:5–8; Gen. 50:19–20.
- The psalm and the sermon. Ps. 105:16–22; Acts 7:9–16.
- Judah beside Joseph. Gen. 38, read against verses 7–12 of this chapter.
For the garments and the Egyptian household behind this chapter, see the Religious Studies Center chapter “Clothes and Cups: The Tangible World of Joseph” (in From Creation to Sinai).
Sources & further reading
- The Holy Scriptures (Latter-day Saint editions), text and chapter headings, The Church of Jesus Christ of Latter-day Saints.
- Westminster Leningrad Codex, with morphology, Open Scriptures Hebrew Bible (OSHB), openscriptures/morphhb.
- Westminster Leningrad Codex (the Masoretic Hebrew text), Read in the Hebrew–English interlinear on Bible Hub.
- Francis Brown, S. R. Driver, and Charles A. Briggs, A Hebrew and English Lexicon of the Old Testament, Oxford: Clarendon Press, 1906.
- The Septuagint (Rahlfs Greek text, with Brenton’s English translation), Elpenor Bilingual Septuagint.
- Noah Webster, An American Dictionary of the English Language, 1828.
- “Jehovah”, Bible Dictionary.
- “Pentateuch”, Bible Dictionary.
- Genesis 37–41, Scripture Helps: Old Testament (2025).
- Genesis 37–50: Joseph: The Power of Preparation, Old Testament Student Manual: Genesis–2 Samuel (Church Educational System, 2003).
- Paul Y. Hoskisson, “The Plan of Salvation in the First Six Books of the Old Testament”, In The Gospel of Jesus Christ in the Old Testament, ed. D. Kelly Ogden, Jared W. Ludlow, and Kerry Muhlestein, 38th Annual BYU Sidney B. Sperry Symposium (Provo, UT: Religious Studies Center, Brigham Young University, 2009).
- John Gee, “Clothes and Cups: The Tangible World of Joseph”, In From Creation to Sinai: The Old Testament through the Lens of the Restoration, ed. Daniel L. Belnap and Aaron P. Schade (Provo, UT: Religious Studies Center, Brigham Young University; Salt Lake City: Deseret Book), 425–46.
- Kelly R. Johnson, “The Lord Was with Joseph”, Liahona, Mar. 2022, 44–47.
- Hartman Rector Jr., “Live above the Law to Be Free”, general conference, Oct. 1972.
- M. Russell Ballard, “Purity Precedes Power”, general conference, Oct. 1990.
- Robert D. Hales, “Stand Strong in Holy Places”, general conference, Apr. 2013.
- Carl Friedrich Keil and Franz Delitzsch, Biblical Commentary on the Old Testament: Genesis, In Keil and Delitzsch, Biblical Commentary on the Old Testament, online at Bible Hub.
- Herbert E. Ryle, The Book of Genesis in the Revised Version, Cambridge Bible for Schools and Colleges (Cambridge: University Press, 1921); read on Bible Hub.
- Ellicott’s Commentary for English Readers: Genesis, Read on Bible Hub.