Read Joshua 10:12 Using Other Translations
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.
At that time Joshua spoke to the LORD in the day when the LORD gave the Amorites over to the sons of Israel, and he said in the sight of Israel, "Sun, stand still at Gibeon, and moon, in the Valley of Aijalon."
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.”