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.
And all these kings and their land did Joshua take at one time, because the Lord God of Israel fought for Israel ( Joshua 10:42 ).