Genesis 39
Then Joseph’s master took him and put him into the prison, a place where the king’s prisoners were confined. And he was there in the prison. But the Lord was with Joseph and showed him mercy, and He gave him favor in the sight of the keeper of the prison. And the keeper of the prison committed to Joseph’s hand all the prisoners who were in the prison; whatever they did there, it was his doing. The keeper of the prison did not look into anything that was under Joseph’s authority, because the Lord was with him; and whatever he did, the Lord made it prosper. Genesis 39:20-23 NKJV
Joseph had been unjustly accused and imprisoned, but the Lord was with him. We see that God gave Joseph favor in the eyes of the prison warden, who basically put him in charge of running the prison. Even in this seemingly hopeless circumstance, the Lord caused Joseph to prosper. God wants to give us favor, just as He did Joseph. The Lord offers us many things that we never enjoy because we do not activate our faith to receive what He has provided. In order to receive that favor, we must follow Joseph’s example and believe God for it. Joseph maintained a good attitude in a bad situation, and his faithful attitude led to God’s favor. We should expect God’s favor and keep our attitude of faith in every situation we face.