4 “Come with me and help me attack Gibeon, which has made a peace agreement with Joshua and the Israelites.”
5 Then these five Amorite kings—the kings of Jerusalem, Hebron, Jarmuth, Lachish, and Eglon—gathered their armies, went to Gibeon, surrounded it, and attacked it.
6 The Gibeonites sent this message to Joshua in his camp at Gilgal: “Don’t let us, your servants, be destroyed. Come quickly and help us! Save us! All the Amorite kings from the mountains have joined their armies and are fighting against us.”
7 So Joshua marched out of Gilgal with his whole army, including his best fighting men.
8 The Lord said to Joshua, “Don’t be afraid of those armies, because I will hand them over to you. None of them will be able to stand against you.”
9 Joshua and his army marched all night from Gilgal for a surprise attack.
10 The Lord confused those armies when Israel attacked, so Israel defeated them in a great victory at Gibeon. They chased them along the road going up to Beth Horon and killed men all the way to Azekah and Makkedah.