As I said months earlier : The writers of Daniel, Baruch, Enoch, Revelation etc. and the Gospels naturally had a narrow focus on recent events. Their world was unraveling, and they desired and anticipated divine intervention. Typological interpretation was the rage. To repeat that same point The writer of the Psalms of Solomon, writing just after the Roman response to the Hasmonean rebellion, similarly utilized the idea of divine retribution for religious apostasy via the agency of a foreign power, in this case Pompey in 63BCE. However in time this foreign agent becomes prideful and is eventually to be destroyed by God and the pure Jews are elevated.
Concerning Jerusalem.
2:1
When the sinner became proud, he struck down fortified walls with a battering-ram, and you did not prevent him.
2
Foreign nations went up to your altar; in pride they trampled it with their sandals,
3
because the sons of Jerusalem had defiled the sanctuary of the Lord, had profaned the gifts of God with acts of lawlessness.
4
Because of these things he said, "Cast them
b
far from me; I take no pleasure in them."
5
The beauty of her glory was despised before God; it was completely dishonored.
6
The sons and daughters were in harsh captivity, their neck in a seal, with a mark among the nations.
7
According to their sins he dealt with them, for he abandoned them into the hands of those who prevail.
8
He
c
turned away his face from pitying them, young and old and their children once again.
17:21
See, O Lord, and raise up for them their king, the son of David, at the time which you chose, O God, to rule over Israel your servant.
22
And gird him with strength to shatter in pieces unrighteous rulers, to purify Jerusalem from nations that trample her down in destruction
3
in wisdom of righteousness, to drive out sinners from the inheritance, to smash the arrogance of the sinner like a potter's vessel,
24
to shatter all their substance with an iron rod, to destroy the lawless nations by the word of his mouth,
25
that, by his threat, nations flee from his presence, and to reprove sinners with the thought of their hearts.
26
And he shall gather a holy people whom he shall lead in righteousness.