The men of Gibeon sent to Joshua to the camp to Gilgal, saying, Don't slack your hand from your servants; come up to us quickly, and save us, and help us: for all the kings of the Amorites that dwell in the hill-country are gathered together against us.
But look at  Joshua 10:10, and note the four pronouns: JEHOVAH discomfited them ... and HE slew them with great slaughter ... and HE smote them unto Azekah ... and HE smote them unto Makkedah.  The last two of these are the understood subjects, but in all four cases, GOD is the subject.  "It is GOD who does it, not Israel, not Joshua!"[23]  Joshua's part was merely to carry forward with the mopping up exercises!