The end of days will usher in a terrifying and unprecedented military campaign at the gates of Jerusalem. An alliance of global powers will converge on the city, bringing temporary devastation that ultimately paves the way for a profound spiritual cleansing and direct divine intervention. It is God Himself who plants the urge within these nations to gather and wage this war [רד״ק, מלבי״ם]. While some view these invading forces as the armies of Gog and Magog [מצודת דוד], others describe a broader global conflict involving powers like Edom and Ishmael [מלבי״ם, אברבנאל]. They are drawn specifically to the Land of Israel because it is the very place where their ultimate downfall and loss of power have been decreed [אהבת יהונתן].
The invasion will be brutally uncompromising. Enemy forces will trample the city, loot its wealth, and reduce its buildings to rubble [מצודת ציון, רד״ק, מצודת דוד]. Yet, this physical devastation serves a deep spiritual purpose. Because the city's structures were built in impurity by foreign nations who previously ruled there, their destruction is an absolute necessity so that Jerusalem can be rebuilt in total holiness [אהבת יהונתן]. The cruelty of the invaders will spare no one, and the women of the city will suffer horrific assaults [מצודת דוד, מצודת ציון], a reality so grim that tradition mandates speaking of these events using refined and respectful language [אבן עזרא, מנחת שי].
Following the conquest, the city's population will be split. Half of the residents will be taken captive, held in exile within the enemy camps just outside the city limits [רד״ק, צאינה וראינה]. This division is not a random occurrence. It mirrors the ancient strategy of the patriarch Jacob, who divided his camp into two to guarantee that a remnant would survive the threat posed by Esau [אהבת יהונתן]. Furthermore, this split reflects the spiritual geography of Jerusalem itself. The unholy outer sections of the city will fall to the invaders, while the sacred inner core will remain protected [אהבת יהונתן].
Despite the heavy destruction, the remainder of the people will stay in their place and avoid exile. The enemy forces will abruptly stop their campaign. They might simply run out of time to complete the deportation [מלבי״ם, ביאור שטיינזלץ], perhaps frightened by rumors of an impending counterattack from other nations [אברבנאל]. Alternatively, God permits this partial destruction specifically to expose the invaders' true motives. By engaging in looting and taking captives, the enemies prove their malicious intent and lose any ability to claim they arrived peacefully to worship in Jerusalem [רש״י]. Ultimately, this period of intense suffering and captivity is designed to refine and purify the people. Reaching their lowest point, the remaining citizens will rise up to fight and free their captive brethren. At that decisive moment, God Himself will intervene, fighting for His people and delivering them just as He did at the splitting of the Red Sea [רד״ק, אברבנאל, צאינה וראינה].