12Then Joshua spoke to Yahweh on the day Yahweh gave the men of Israel victory over the Amorites. This is what Joshua said to Yahweh before Israel, “Sun, be still at Gibeon, and moon, in the Valley of Aijalon.”
13The sun stood still, and the moon stopped moving until the nation took vengeance on their enemies. Is this not written in the Book of Jashar? The sun stayed in the middle of the sky; it did not go down for about a whole day.
14There has been no other day like it before or after it, when Yahweh obeyed the voice of a human being. For Yahweh was waging war on behalf of Israel.
15Joshua and all Israel with him returned to the camp at Gilgal.
16Now the five kings had escaped and hidden themselves in the cave at Makkedah.
17It was told to Joshua, “They have been found!—the five kings hidden in the cave at Makkedah!”
18Joshua said, “Roll large stones against the mouth of the cave and place soldiers there to guard them.