While Joseph was in prison, two of Pharaoh's officials, the chief baker, and the chief cupbearer, were there with him. One night, they both had a dream, and Joseph, seeing the torment of not knowing what their dreams meant, gave testimony to God’s power and rightly interpreted the dreams of each of them. All he asked for in return was to be remembered when the chief cupbearer returned to his position in Pharaoh's court.