On the day that the LORD gave the Amorites over to the Israelites, Joshua spoke to the LORD in the presence of Israel: “O sun, stand still over Gibeon, O moon, over the Valley of Aijalon.”
Jewish Publication Society of America Version (JPS1917) - Joshua 10:12 >Then spoke Joshua to the LORD in the day when the LORD delivered up the Amorites before the children of Israel; and he said in the sight of Israel: 'Sun, stand thou still upon Gibeon; and thou, Moon, in the valley of Aijalon.'