“For I.” The prophecy switches to a first-person narrative. Zechariah 14:3 switches back to the prophet speaking.
“I will gather all the nations against Jerusalem to battle.” Jesus knew this was coming and warned his disciples to flee if they ever saw armies coming to surround Jerusalem: “But when you see Jerusalem surrounded by armies, then know that her desolation has drawn near. Then those who are in Judea must flee to the mountains, and those who are in the midst of her must leave, and do not let those who are in the country enter her” (Luke 21:20-21). This confederation of nations coming to fight against Jerusalem will occur during the Tribulation foretold in the Old Testament and by Jesus (see commentary on Dan. 12:1).
“and the women raped.” Warfare is usually very brutal. The same thing was foretold by Isaiah about Babylon being conquered by the Medes and Persians (Isa. 13:16).