Gog and Magog (38:1-39:29)
Chronologically these two chapters, the repetitiousness of which suggests a combination of several sources, belong after the restoration of Israel in the land of Palestine in the security and peace of God's Covenant of peace. Whether or not the section as a whole comes originally from the hand of the prophet Ezekiel is problematical and is a matter of considerable current debate. Its ideas belong to the historical period out of which Ezekiel spoke, and there is a high degree of probability that it is shaped by his spirit and thought, if indeed it was not written by his hand.
A restored people in a physical land of Palestine could never be safe so long as the menace of invasion remained on the horizon. Ezekiel, therefore, foresaw the time when God would win his final, cosmic victory by overcoming those forces from the ends of the earth which would rise up against him and his people Israel.
Obviously the last paragraph of the section (Ezekiel 39:25-29)-which predicts the return of Judah from captivity, an event presupposed in 38:1-39:24 — is out of its proper chronological order. This paragraph should be understood as a separate fragment which the editors of the book placed in this spot for reasons which now elude us.