Here is the text from the Sybilline Oracles:
"There will again be [i.e. in the eschatological future] one exceptional man from the sky
who stretched out his hands on the fruitful wood,
the best of the Hebrews, who will one day cause the sun to stand [i.e. like Joshua did],
speaking with fair speech and holy lips.
Blessed one, no longer weary your spirit in your breast,
divinely born, wealthy, sole-desired flower,
good light, holy shoot, beloved plant." (SibOr 5:156-162)
Later we also read: "For a blessed man came from the expanses of heaven, with a scepter in his hands which God gave him, and he gained sway over all things well, and gave back the wealth to all the good, which previous men had taken. He destroyed every city from its foundations with much fire, and burned nations of mortals who were formerly evildoers" (SibOr 5:414-419). This Messiah figure, who restores the kingdom of Israel by destroying the cities and kingdoms of the Gentiles, is described very much in the language of Joshua, who in the conquest of Canaan also destroyed cities with fire and who also with God's power "caused the sun to stand still".