Genesis 39 · a question people ask
Joseph did what was right and ended up in prison. Why did God allow it?
This chapter doesn't explain. It says the same thing about Joseph before and after the prison: "The LORD was with Joseph" (39:2) and "But the LORD was with Joseph" (39:21). A psalm looks back on it: "He sent a man before them. Joseph was sold for a slave… until the time that his word happened, and the LORD’s word proved him true" (Psalm 105:17-19). Joseph himself later says, "you meant evil against me, but God meant it for good" (50:20).
The verses
“The LORD was with Joseph, and he was a prosperous man. He was in the house of his master the Egyptian.”
“But the LORD was with Joseph, and showed kindness to him, and gave him favor in the sight of the keeper of the prison.”
“He sent a man before them. Joseph was sold for a slave. They bruised his feet with shackles. His neck was locked in irons, until the time that his word happened, and the LORD’s word proved him true.”
“As for you, you meant evil against me, but God meant it for good, to save many people alive, as is happening today.”