How did God help Joshua fight the Amorites at Gibeon?


By making the sun and moon stand still for a day or so.

(And casting down great stones from heaven.)
And the LORD said unto Joshua, Fear them not: for I have delivered them into thine hand; there shall not a man of them stand before thee. ...

And the LORD discomfited them before Israel, and slew them with a great slaughter at Gibeon, and chased them along the way....

And it came to pass, as they fled from before Israel, and were in the going down to Bethhoron, that the LORD cast down great stones from heaven upon them unto Azekah, and they died: they were more which died with hailstones than they whom the children of Israel slew with the sword.

Then spake Joshua to the LORD in the day when the LORD delivered up the Amorites before the children of Israel, and he said in the sight of Israel, Sun, stand thou still upon Gibeon; and thou, Moon, in the valley of Ajalon.

And the sun stood still, and the moon stayed, until the people had avenged themselves upon their enemies. Is not this written in the book of Jasher? So the sun stood still in the midst of heaven, and hasted not to go down about a whole day.

And there was no day like that before it or after it, that the LORD hearkened unto the voice of a man: for the LORD fought for Israel. Joshua 10:8-14