Psalms of Solomon 17:24
20 From their leader to the commonest of the people they committed every kind of sin: the king broke the law, the judges disobeyed, the people sinned. 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, 24 to demolish all their resources with an iron rod; to destroy the lawbreaking Gentiles with the word of his mouth; 25 to scatter the Gentiles from his presence at his threat; to condemn sinners by their own consciences.
Revelation 19:14
11 Then I saw heaven opened and here came a white horse! The one riding it was called “Faithful” and “True,” and with justice he judges and goes to war. 12 His eyes are like a fiery flame and there are many diadem crowns on his head. He has a name written that no one knows except himself. 13 He is dressed in clothing dipped in blood, and he is called the Word of God. 14 The armies that are in heaven, dressed in white, clean, fine linen, were following him on white horses. 15 From his mouth extends a sharp sword so that with it he can strike the nations. He will rule them with an iron rod, and he stomps the winepress of the furious wrath of God, the All-Powerful. 16 He has a name written on his clothing and on his thigh: “King of kings and Lord of lords.”
Notes and References
"... The author of Psalms of Solomon 17 has a clear set of expectations for what the “Anointed One,” the Messiah (a term used in Psalms of Solomon 17:32; also see 18:5, 7), will do. He will purge the Holy Land of both the sinful Judeans and the Gentiles, who are “lawless” in the sense that they live without the Torah (Psalms of Solomon 17:22–24, 30b, 36b). This is a violent expectation, even if the weapons are unconventional: “He will destroy the lawless nations by the word of his mouth” (Psalms of Solomon 17:24; compare Revelation 19:11–15). This Son of David will gather the righteous Judeans scattered throughout the nations (Psalms of Solomon 17:26, 31; see also 11:1–3) and will rule them with perfect justice, judging the twelve tribes and keeping them centered in the fear of the Lord through his rod of discipline (Psalms of Solomon 17:26–27; see also 18:7). He himself will be “pure from sin, so that he may rule a great people” (Psalms of Solomon 17:36) ..."
DeSilva, David A. The Jewish Teachers of Jesus, James, and Jude: What Earliest Christianity Learned from the Apocrypha and Pseudepigrapha (p. 143) Oxford University Press, 2012