After a long time (literally after many days) … In the latter years (literally in the end of the years): This battle is described as a final and climactic conflict. It would come before a lasting time of peace.
Some people believe this battle will be a real event at the end of history. Others believe it is a symbolic picture (a literary image) that shows how the Lord protects his people in every age. In this view, the battle represents the ongoing struggle between God’s people and evil.
Whichever view is correct, the main message is clear. When the Lord’s favor rests on his people, nothing can remove them from his protection. Not even the strongest and most complete attack of evil can defeat them.