Why the Cupbearer Forgot Joseph Until His Appointed End

Midrash Tanchuma Buber, Miketz 3:1

What is written above concerning this matter (in Genesis 40:23): "Yet the chief cupbearer did not remember Joseph." Rabbi Berekhyah said: This "did not remember" — he had been remembered, and he had been lifted up. But (it says) "he forgot him." He had said outside: I will go and tell Pharaoh, "Bring him up." Immediately, "he forgot him." Until his appointed end to go out had arrived, the Holy One, blessed be He, brought about the occasions concerning him in order to bring him out, as it is said (in Genesis 41:1): "Now it came to pass at the end of two full years."

Themes

Biblical References