Then spoke Joshua to Yahweh in the day when Yahweh delivered up the Amorites before the children of Israel; and he said in the sight of Israel, Sun, stand you still on Gibeon; You, Moon, in the valley of Aijalon.
(1) This is poetry and was never intended to be understood literally. Joshua used this poetic language to request that God stop the sun from shining, or be dumb, or silent, because the weather was hot and Joshua and his troops needed relief from the heat!  Even so conservative a writer as Unger wrote: