Joshua 10:1
The Sun Stands Still
1 As soon as Adoni-zedek, king of Jerusalem, heard how Joshua had captured Ai and had devoted it to destruction,1 mdoing to Ai and its king nas he had done to Jericho and its king, and ohow the inhabitants of Gibeon had made peace with Israel and were among them,
Joshua 9:15
15 And Joshua ymade peace with them and made a covenant with them, to let them live, and the leaders of the congregation swore to them.