“And I know that the king of Egypt will not let you go, except by a mighty hand” (Exodus 3:19). “And I know that the king of Egypt will not let you go.” The Holy One blessed be He saw what the wicked Pharaoh is destined to do; [that he will] increase the workload of the people from the moment that he [Moses] goes [to Pharaoh] as His emissary. And so that he [Moses] would not be misled by this thing, the Holy One blessed be He made known to him that Pharaoh is destined to do such and such when you go on My mission so that he would not reproach Heaven. 26In order that Moses would not complain to God that his mission was a failure, as he in fact did in Exodus 5:22-23.
Nevertheless, he reproached Heaven, and about him it is stated: “For oppression turns a wise man into a fool” (Ecclesiastes 7:7).