So Adoni-Zedek king of Jerusalem appealed to Hoham king of Hebron,1 Piram king of Jarmuth,2 Japhia king of Lachish3 and Debir4 king of Eglon.54
"Come up and help me attack Gibeon," he said, "because it has made peace6 with Joshua and the Israelites."
Then the five kings7 of the Amorites8--the kings of Jerusalem, Hebron, Jarmuth, Lachish and Eglon--joined forces. They moved up with all their troops and took up positions against Gibeon and attacked it.
The Gibeonites then sent word to Joshua in the camp at Gilgal:9 "Do not abandon your servants. Come up to us quickly and save us! Help us, because all the Amorite kings from the hill country have joined forces against us."
So Joshua marched up from Gilgal with his entire army,10 including all the best fighting men.
The LORD said to Joshua, "Do not be afraid11 of them; I have given them into your hand.12 Not one of them will be able to withstand you."139
After an all-night march from Gilgal, Joshua took them by surprise.
The LORD threw them into confusion14 before Israel,15 who defeated them in a great victory at Gibeon.16 Israel pursued them along the road going up to Beth Horon17 and cut them down all the way to Azekah18 and Makkedah.1911
As they fled before Israel on the road down from Beth Horon to Azekah, the LORD hurled large hailstones20 down on them from the sky,21 and more of them died from the hailstones than were killed by the swords of the Israelites.
On the day the LORD gave the Amorites22 over to Israel, Joshua said to the LORD in the presence of Israel: "O sun, stand still over Gibeon, O moon, over the Valley of Aijalon.23"
So the sun stood still,24 and the moon stopped, till the nation avenged itself ona its enemies, as it is written in the Book of Jashar.25 The sun stopped26 in the middle of the sky and delayed going down about a full day.