Originally published on the Doxa blog.
"The LORD was with him and extended kindness to him" (Genesis 39:21). Genesis 39:21 records that of a man in the king's prison, sent there on a lie because he would not sin. In one day Joseph lost his post, his master's trust and his good name, and the LORD went down into the prison with him.
Day after day he refused
Joseph refused Potiphar's wife because he knew he lived before God, and he called her offer what it was. "How could I do such a great evil and sin against God?" he asked her (Genesis 39:9).
No tablets of stone had been given yet. "You shall not commit adultery" (Exodus 20:14) came to Israel at Sinai centuries later. Joseph had two dreams from God and a master who had seen the LORD prosper everything he did. He knew God, and that was enough for him to see the evil for what it was.
She kept asking, and he "refused to go to bed with her or even be near her" (Genesis 39:10). Then came a day when "not a single household servant was inside" (Genesis 39:11). Nobody would have seen. Joseph held on to what he knew of God in an empty house.
A cloak left in her hand
Joseph ran, and she used the cloak he left behind to accuse him. She grabbed him, and "leaving his cloak in her hand, he escaped and ran outside" (Genesis 39:12). She called the servants, then told her husband the same story, and Potiphar "burned with anger" (Genesis 39:19).
Genesis 39 records no word from Joseph in his own defence. For the second time a garment was taken from him and carried to a man as proof of a lie, as his brothers had once dipped his robe in goat's blood and sent it to Jacob (Genesis 37:31).
Long after, another innocent man stood silent before His accusers. "And when He was accused by the chief priests and elders, He gave no answer" (Matthew 27:12). Jesus is the One who "was tempted in every way that we are, yet was without sin" (Hebrews 4:15). Joseph's story is a shadow of His, and in Christ the righteous man who suffered under a false charge is our own high priest.
The LORD with him in prison
The LORD's kindness in prison meant He kept faith with Joseph in the lowest place he had yet been, and He showed it so plainly that the warden saw it. He gave Joseph "favor in the eyes of the prison warden" (Genesis 39:21). Soon the warden put every prisoner under his care and stopped checking his work, "because the LORD was with Joseph and gave him success in whatever he did" (Genesis 39:23).
Psalm 105 records the cost: "They bruised his feet with shackles and placed his neck in irons" (Psalms 105:18). The dreams God had given Joseph looked further away than they had ever been, and the LORD was with him in that cell every day.
Hold on in the dark
We are the people who remember what God has said, and Joseph showed what that looks like when obeying God seems to cost everything. He knew God well enough to say no in an empty house, and he was known by God in a prison cell. If you have done what is right and lost by it, write down what God has said to you, with the date, in the Doxa app, and read it back when the door shuts behind you. For that day God has said: "Never will I leave you, never will I forsake you" (Hebrews 13:5). We come to know Him and be known by Him in rooms like Joseph's, and His kindness meets us there.
What has God said to you that you need to read back on a day when doing right has cost you something?
Keep exploring. If this raised a question, or brought back something God has said to you, take it further. Ask Doxa. It answers from Scripture, real stories, and your own journey, free in your browser. No signup to start.
Download Doxa, the app for recording, weighing and remembering prophetic encouragement.
Also please feel free to read the Doxa Deeper Dive below where we delve into the original language and historical context.
The Doxa Deeper Dive
Joseph Lost a Cloak in Egypt and Pharaoh Clothed Him (Genesis 39:7–23)
Originally published on the Doxa blog.
The LORD answered a betrayal with loyal love. Potiphar's wife tried to betray her husband, then lied about the slave who refused her, and in the prison the LORD "was with him and extended kindness to him" (Genesis 39:21). Two Hebrew words carry this chapter. The cloak she held sounded like the word for breaking faith, and the kindness God showed is the word for keeping it.
A garment and a betrayal
The word for Joseph's cloak is beged (H899), the ordinary Hebrew word for a garment, and Strong's lexicon derives it from the verb bagad (H898), to cover, which Scripture uses again and again for acting covertly and breaking faith. Genesis 39 uses beged six times in seven verses. She seized Joseph by his beged and he left his beged in her hand (39:12), and beged appears again in 39:13, 15, 16 and 18, the cloak kept beside her while she told her story twice.
Scripture uses the verb bagad for unfaithfulness to God Himself. Through Jeremiah He said, "But as a woman may betray her husband, so you have betrayed Me, O house of Israel" (Jeremiah 3:20), and both verbs there are bagad. The garment word and the betrayal word are written with the same three Hebrew letters. An English reader sees a cloak. A Hebrew hearer heard a story about a wife who wanted to betray her husband, told around a word that sounded like betrayal, while the one man in the house who would not betray anyone ran out without it.
Garments that carried a lie
Garments matter in Joseph's story because clothing had carried deception through his family for two generations. Jacob deceived his father in his brother's clothes: "Rebekah took the finest clothes in the house that belonged to her older son Esau, and she put them on her younger son Jacob" (Genesis 27:15). The Hebrew there is beged. Jacob's sons then deceived Jacob with Joseph's robe dipped in blood (Genesis 37:31); that robe is a different word, kethoneth (H3801), and it played the same part. Tamar set aside "her widow's garments" (Genesis 38:14), beged again, to disguise herself, and the truth came out when Judah "recognized the items" she showed him, his own seal, cord and staff (Genesis 38:26).
Later in Joseph's story a garment came to him as a gift. When Pharaoh raised him up, he "clothed him in garments of fine linen" (Genesis 41:42), and the Hebrew is bigdei shesh, the plural of the same beged. Pharaoh's gift was called by the same word as the cloak that had carried the slander.
David used the same word in a psalm that was fulfilled at the cross: "They divide my garments among them and cast lots for my clothing" (Psalms 22:18), with beged for garments. John records that the soldiers "divided His garments into four parts, one for each soldier" (John 19:23). Jesus was betrayed and stripped, and He clothes His people. Isaiah sang of it: "for He has clothed me with garments of salvation and wrapped me in a robe of righteousness" (Isaiah 61:10), and those garments are beged as well.
Before Pharaoh's linen came, Joseph's cloak was the evidence in a false charge, and Egypt knew stories like that.
An Egyptian tale of a false charge
Egypt had its own story of a false charge like this one, the Tale of Two Brothers, copied on a papyrus around 1200 BC and now kept in the British Museum. In it the wife of Anubis tried to seduce his younger brother Bata, and when he refused she accused him to her husband. Bata cried out to the sun god, and the god set a stretch of water full of crocodiles between the brothers to save him.
Israel's neighbours knew tales like that one, and Genesis records a different rescue. Bata's god saved him in a moment, with a wonder at the water's edge. Joseph went down into the king's prison, the LORD was with him there and showed him kindness, and the rescue took years, while the dreams God had given him waited.
This Hebrew in the king's prison
Israel first heard this story as a people who had been the Hebrews of Egypt, so they knew the sound of an Egyptian saying "Hebrew" with contempt. Potiphar's wife told her servants, "this Hebrew has been brought to us to make sport of us" (Genesis 39:14), and told her husband, "The Hebrew slave you brought us came to me to make sport of me" (Genesis 39:17). The word is Ibri (H5680). In Exodus it is what Egypt called Israel's slaves: Pharaoh commanded the midwives, "When you help the Hebrew women give birth, observe them on the birthstools" (Exodus 1:16), and Pharaoh's daughter, finding a baby in a basket on the Nile, said, "This is one of the Hebrew children" (Exodus 2:6).
They also heard the word for kindness in Genesis 39:21, chesed (H2617), the LORD's loyal, covenant love. At Sinai the LORD proclaimed His own name with it: "The LORD, the LORD God, is compassionate and gracious, slow to anger, abounding in loving devotion and faithfulness" (Exodus 34:6), where "loving devotion" is chesed. A people who had been slaves in Egypt, and had then heard God speak His name at the mountain, heard that same word spoken over a Hebrew slave in an Egyptian prison. The God who met them in Egypt had shown Joseph His chesed there first. So Genesis 39 uses both words side by side, the cloak that sounded like bagad, breaking faith, and the LORD's chesed, keeping it.
Clothed in His kindness
Joseph was slandered with his people's name, left his cloak in her hand and was thrown into a cell, and the LORD was with him there and showed him the same chesed He would one day speak over Israel at Sinai. We learn to know God, and find that we are known by Him, in places like that cell, where what He has said is all we hold. We are the people who remember what God has said. Write it down with the date in the Doxa app, and read it back through the long wait, as Joseph waited. In Christ, Isaiah's song is ours to sing: "He has clothed me with garments of salvation" (Isaiah 61:10).
Keep exploring. If this raised a question, or brought back something God has said to you, take it further. Ask Doxa. It answers from Scripture, real stories, and your own journey, free in your browser. No signup to start.
Questions and comments are welcome below.
Download Doxa, the app for recording, weighing and remembering prophetic encouragement.



