Josh. 10:3‑23• 3And Adoni-zedek king of Jerusalem sent to Hoham king of Hebron, and to Piream king of Jarmuth, and to Japhia king of Lachish, and to Debir king of Eglon, saying,
4Come up to me, and help me, that we may smite Gibeon; for it has made peace with Joshua and with the children of Israel.
5And the five kings of the Amorites, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon, gathered themselves together, and went up, they and all their armies, and they encamped before Gibeon, and made war against it.
6And the men of Gibeon sent to Joshua, to the camp at Gilgal, saying, Withdraw not thy hand from thy 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 against us.
7So Joshua went up from Gilgal, he and all the people of war with him, even all the valiant men.
8And Jehovah said to Joshua, Fear them not; for into thy hand have I given them: not a man of them shall stand before thee.
9And Joshua came upon them suddenly; he went up from Gilgal all night.
10And Jehovah discomfited them before Israel, and smote them with a great slaughter at Gibeon; and he chased them on the way of the ascent of Beth-horon, and smote them up to Azekah and Makkedah.
11And it came to pass, as they fled from before Israel,--they were at the descent of Beth-horon,--that Jehovah cast down great stones from heaven upon them up to Azekah, and they died. They were more who died with the hailstones than they whom the children of Israel had slain with the sword.
12Then spoke Joshua to Jehovah in the day when Jehovah gave up the Amorites before the children of Israel, and he said in the sight of Israel, Sun, stand still upon Gibeon; And thou, moon, in the valley of Ajalon!
13And the sun stood still, and the moon remained where it was, until the nation had avenged themselves upon their enemies. Is not this written in the book of Jasher? And the sun remained standing in the midst of heaven, and hasted not to go down about a full day.
14And there was no day like that before it or after it, that Jehovah hearkened to the voice of a man; for Jehovah fought for Israel.
15And Joshua returned, and all Israel with him, to the camp, to Gilgal.
16And these five kings fled, and hid themselves in the cave at Makkedah.
17And it was told Joshua, saying, The five kings have been found, hid in the cave at Makkedah.
18And Joshua said, Roll great stones before the mouth of the cave, and set men before it to keep them.
19And ye, stay not, pursue after your enemies, and smite the hindmost of them; suffer them not to enter into their cities; for Jehovah your God has given them into your hand.
20And it came to pass when Joshua and the children of Israel had ended smiting them with a very great slaughter, until they were consumed, that the remnant which remained of them entered into fortified cities;
21and all the people returned to the camp to Joshua, at Makkedah, in peace; none moved his tongue against the children of Israel.
22And Joshua said, Open the mouth of the cave, and bring forth to me those five kings out of the cave.
23And they did so, and brought forth to him those five kings out of the cave, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, the king of Eglon. (Josh. 10:3‑23)