In this chapter things are working, though slowly, towards Joseph’s advancement. I. Two of Pharaoh’s servants are committed to prison, and there to Joseph’s care, and so become witnesses of his extraordinary conduct, Gen. 40:1-4. II. They dreamed each of them a dream, which Joseph interpreted (Gen. 40:5-19), and the event verified the interpretation (Gen. 40:20-22), and so they became witnesses of his extraordinary skill. III. Joseph recommends his case to one of them, whose preferment he foresaw (Gen. 40:14, 15), but in vain, Gen. 40:23.