Psalm 102:22

When the people are gathered together, and the kingdoms, to serve the LORD.

When the people are gathered together,.... When the people of the Jews shall be gathered together, and seek the Lord their God, and David their King, the Messiah, and appoint them one head, even Christ; and when the Gentiles shall gather together, in great numbers, to the church of God, Hosea 1:11,

and the kingdoms to serve the Lord; even the kingdoms of this world, which will become his, and will serve him in righteousness and holiness, freely and cheerfully, with one shoulder and one content; their kings will fall down before the Lord, and all nations shall serve him, Psalms 72:11, and then will be the time when the prisoners shall be loosed, and the Lord shall be praised in Zion.