According to Joshua, the sun stood still during the battle at Gibeon.
Joshua 10 recounts a coalition of five Amorite kings attacking Gibeon after the city made peace with Joshua and the Israelites. Joshua marched overnight from Gilgal to support Gibeon. During the battle, the text says the sun stood still over Gibeon and the moon over the Valley of Aijalon, allowing the Israelites more time to pursue their enemies.
The passage is one of the most famous miracle narratives in the Hebrew Bible. Its poetic wording, especially the quotation from the Book of Jashar, has generated debate over whether the text describes a literal astronomical event, poetic battle language, or a literary presentation of divine aid.
Gibeon should not be confused with Jericho, whose walls fall earlier in Joshua, or Ai, another city captured during the conquest narrative. Gibeon was located north of Jerusalem and became associated with a major sanctuary in later biblical history.