NET
12 The day the Lord delivered the Amorites over to the Israelites, Joshua prayed to the Lord before Israel: “O sun, stand still over Gibeon; O moon, over the Valley of Aijalon!”
Darby
12 Then 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!
KJV
12 Then spake 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 Ajalon.