"Until the appointed time, his word had not yet come. Rabbi Chiya bar Abba and the rabbis disagreed. One said, 'Until Joseph's word comes to pass,' while the other said, 'Until the word of the Holy One, blessed be He, comes to pass, which Joseph said to the chief butler (Genesis 40:14), "But think of me when it is well with you." The Holy One, blessed be He, said to him, "You spoke truthfully; you will live another two years," as it says (Genesis 41:1), "After two years of time."

Therefore, "Until the appointed time, his word had not yet come." The king sent and released him, and he was put in charge of his household. Rabbi Levi said in the name of Rabbi Yochanan ben Saul, "Joseph said to them, 'What do you think, that the Holy One, blessed be He, would not let me taste of what my grandfather Jacob blessed, saying (Genesis 27:29), "Let peoples serve you, and nations bow down to you"?

Therefore, as it says (Genesis 41:40), 'And Joseph ruled over the land.' 'Put him in charge of his household, to bind his princes at his pleasure; and teach his elders wisdom' (Psalms 105:21-22)." Another explanation is that his rulership is alluded to in the verse (Genesis 41:45), "Pharaoh called Joseph's name Zaphenath-paneah and gave him to wife Asenath the daughter of Potiphera." And he ruled over his people, and the Egyptians strengthened him.

Rabbi Shimon ben Lakish said, "What is this matter comparable to? It is like two officials who are in the palace, one is great and the other is also great, but one is greater than the other. It is also like two mighty warriors, one is mighty and the other is also mighty, but one is mightier than the other. Their hearts were turned against him."

Rabbi Chiya said in the name of Rabbi Yochanan, and Rabbi Yudan said in the name of Rabbi Yehozadak, "Yesterday (Genesis 45:16), 'The voice was heard,' etc., and Pharaoh was pleased with him. Now their hearts were turned against him (Exodus 1:8), 'And there arose a new king over Egypt.'"