Joshua 10:1 King James Version (KJV)
10 Now it came to pass, when Adonizedec king of Jerusalem had heard how Joshua had taken Ai, and had utterly destroyed it; as he had done to Jericho and her king, so he had done to Ai and her king; and how the inhabitants of Gibeon had made peace with Israel, and were among them;
Joshua 10:1 New International Version (NIV)
The Sun Stands Still
10 Now Adoni-Zedek king of Jerusalem heard that Joshua had taken Ai and totally destroyed[a] it, doing to Ai and its king as he had done to Jericho and its king, and that the people of Gibeon had made a treaty of peace with Israel and had become their allies.