Genesis 40:17-23

17 In the top basket there were all kinds of baked goods for the king, and the birds were eating them."
18 Joseph answered, "This is what it means: the three baskets are three days.
19 In three days the king will release you - and have your head cut off! Then he will hang your body on a pole, and the birds will eat your flesh."
20 On his birthday three days later the king gave a banquet for all his officials; he released his wine steward and his chief baker and brought them before his officials.
21 He restored the wine steward to his former position,
22 but he executed the chief baker. It all happened just as Joseph had said.
23 But the wine steward never gave Joseph another thought - he forgot all about him.

Genesis 40:17-23 Meaning and Commentary

INTRODUCTION TO GENESIS 40

The history of this chapter is, the imprisonment of two of Pharaoh's officers, his chief butler and chief baker, who by the captain of the guard were made the charge of Joseph, Ge 40:1-4; they both dreamed in prison, which made them sad; Joseph taking notice of their sadness, asked the reason of it, and encouraged them to tell him their dreams, Ge 40:5-8; the chief butler told his dream of the vine and three branches, which Joseph interpreted of his restoration to his office within three days, and desired him to remember him unto Pharaoh when he stood before him, telling him his case, Ge 40:9-15; then the chief baker told his dream of three white baskets of food on his head, which the birds ate, and this Joseph interpreted of his being hanged within three days, Ge 40:16-19; and the events answered to the interpretation, but Joseph was forgot by the chief butler, Ge 40:20-23.

Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.