Genesis 40:20

And it came to pass the third day, which was Pharaoh’s birthday, that he made a feast unto all his servants: and he lifted up the head of the chief butler and of the chief baker among his servants.

The third day after the dreams was Pharaoh's birthday, when he made a feast for all his servants and lifted up the head of the chief butler and the chief baker among them. On that occasion the chief butler was restored to his position and the chief baker was hanged, exactly as Joseph had interpreted their dreams. The restoration was a return to the butlership to give the cup into Pharaoh's hand, and Joseph's cheering interpretation had relieved the butler's anxiety.

The dreams were fulfilled within the three days they foretold, making the birthday feast an example of a predicted event occurring within a stated time. The predicted restoration and punishment occurred within the given time, for events once only a matter of prophecy were then fulfilled in accordance with the predictions. That exact fulfillment within the given time proves that God fulfills chronological predictions literally, giving reason to regard longer chronological periods extending to the second coming as appointed times revealed by God that will likewise be fulfilled.

Although he had intended and promised himself when restored to favor to remember the captive Joseph and speak for him, and although he saw the interpretation exactly fulfilled, the chief butler forgot Joseph in his suffering, affliction and confinement while enjoying prosperity himself, bringing Joseph no relief. This forgetfulness was the sin of ingratitude, among the most aggravating sins in the Lord's sight, abhorred by God and man yet committed daily and regarded as especially offensive.

Joseph remained two more years in gloomy prison until Pharaoh was troubled in the morning by remarkable dreams that the magicians and wise men of Egypt with all their boasted wisdom could not explain. Then the chief butler with conviction remembered Joseph, recognized his own forgetfulness and ingratitude, and confessed his faults to Pharaoh.