The theme of Jerusalem versus the nations connects the four messages in Zechariah's second oracle. The nations gather against Jerusalem at both the start (Zechariah 12:1–9) and the end (14:1–15) of the oracle. The repeated phrase on that day points to the future day of the Lord.
This oracle shows both judgment and blessing for Jerusalem. The main focus is the cleansing of the people of Israel (Zechariah 13:1), ending with God's universal kingdom (14:16–21). These future visions encouraged the Judeans of Zechariah's time to stay faithful despite feeling unimportant and helpless.