"On Hashem and His Messiah. It is compared to a mighty warrior who was in a country, and when conscripts came to that country, they were afraid of that warrior and said, 'What shall we do? Let us kill that warrior, and then we will unite with the country.' So it is with them.
Rabbi Berachiah said in the name of Rabbi Levi, 'Cursed are the wicked who maintain a council against Israel, and each one says, "My counsel is better than yours." Esau was foolish; Cain killed Abel while their father was still alive, not knowing that his father would procreate and increase. I do not do that, but rather as it is written, "Let my father's days be prolonged." Pharaoh was foolish; Esau said so, not knowing that his brothers married women and those women multiplied.
I do not do that, but rather until the verdict of Kikin under the pillows of their mothers I plead for them, as it is written, "Every male who is born, you shall cast into the river." Haman the wicked said, 'Pharaoh was foolish who said so, not knowing that the girls marry men and those men procreate and increase.' I do not do that, but rather as it is written, "To destroy, to kill, and to cause to perish."
Gog and Magog are destined to say the same, that the fools were the first to plot against Israel and did not know that they had a patron in heaven. I do not do that, but first I unite with my patron, and then I return to Israel. This is what is written, "On Hashem and His Messiah." And the Holy One, blessed be He, says to them, 'Gog and Magog, how many troops do I have before me, and how many lightning bolts, thunders, and flames?
I will go with you to war,' as it is said, 'Hashem will go forth as a mighty man, he shall stir up jealousy like a man of war: he shall cry, yea, roar; he shall prevail against his enemies' (Isaiah 42:13). What is written there? "And Hashem shall be king over all the earth."' (Zechariah 14:9)"