Psalms of Solomon 17:22
21 Look, O Lord, and raise up for them their king, a son of David, to rule over your servant Israel in the time that you know, O God. 22 Undergird him with the strength to destroy the unrighteous rulers, to purge Jerusalem from the Gentiles who trample her down to destruction; 23 in wisdom and in righteousness to drive out the sinners from the inheritance, to smash the arrogance of sinners like a potter's jar,
Revelation 11:1
1 Then a measuring rod like a staff was given to me, and I was told, “Get up and measure the temple of God, and the altar, and the ones who worship there. 2 But do not measure the outer courtyard of the temple; leave it out because it has been given to the Gentiles, and they will trample on the holy city for forty-two months. 3 And I will grant my two witnesses authority to prophesy for 1,260 days, dressed in sackcloth.”
Notes and References
"... Note the application of Psalm 2 to the Davidic Messiah in Psalms of Solomon 17:21-25. This particular passage includes a reference to the purging of the Temple and Jerusalem, a theme found in Revelation 11:1-3. In fact, the language of Psalms of Solomon 17 and Revelation 11 is strikingly similar. In Psalms of Solomon 17:22, the psalmist implores God to purge the city and to remove the 'gentiles who trample her (Jerusalem) to destruction,' while Revelation 11:2 describes a section of the Temple that 'is given over to the nations (translated 'Gentiles'), and they will trample over the holy city ... ' At the very least, both the authors expected a kingly Messiah who would usher in the last age and ultimately overthrow the enemies of God's people ..."
Percer, Leo R. The War in Heaven: Michael and Messiah in Revelation 12 (pp. 57-58) Baylor University, 1999