Joshua 10:8-18 NLT

8 "Do not be afraid of them," the LORD said to Joshua, "for I will give you victory over them. Not a single one of them will be able to stand up to you."
9 Joshua traveled all night from Gilgal and took the Amorite armies by surprise.
10 The LORD threw them into a panic, and the Israelites slaughtered them in great numbers at Gibeon. Then the Israelites chased the enemy along the road to Beth-horon and attacked them at Azekah and Makkedah, killing them along the way.
11 As the Amorites retreated down the road from Beth-horon, the LORD destroyed them with a terrible hailstorm that continued until they reached Azekah. The hail killed more of the enemy than the Israelites killed with the sword.
12 On the day the LORD gave the Israelites victory over the Amorites, Joshua prayed to the LORD in front of all the people of Israel. He said, "Let the sun stand still over Gibeon, and the moon over the valley of Aijalon."
13 So the sun and moon stood still until the Israelites had defeated their enemies.Is this event not recorded in The Book of Jashar a ? The sun stopped in the middle of the sky, and it did not set as on a normal day.

References for Joshua 10:13

    •  10:13 - Or <I>The Book of the Upright.</I>
      14 The LORD fought for Israel that day. Never before or since has there been a day like that one, when the LORD answered such a request from a human being.
      15 Then Joshua and the Israelite army returned to their camp at Gilgal.
      16 During the battle, the five kings escaped and hid in a cave at Makkedah.
      17 When Joshua heard that they had been found,
      18 he issued this command: "Cover the opening of the cave with large rocks and place guards at the entrance to keep the kings inside.