So the fivekingsof the Amorites,the kingof Jerusalem,the kingof Hebron,the kingof Jarmuth,the kingof Lachish,[and] the kingof Eglon,gatheredtogether and wentup, they with alltheir armies,and campedby Gibeonand foughtagainstit.
"Then in the fourthgenerationthey will returnhere,for the iniquityof the Amoriteis not yetcomplete."
when the armyof the kingof Babylonwas fightingagainstJerusalemand againstallthe remainingcitiesof Judah,[that is], Lachishand Azekah,for they [alone] remainedas fortifiedcitiesamong the citiesof Judah.
"Amalekis livingin the landof the Negevand the Hittitesand the Jebusitesand the Amoritesare livingin the hillcountry,and the Canaanitesare livingby the seaand by the sideof the Jordan."
Now thesefivekingshad fledand hiddenthemselves in the caveat Makkedah.
Then the menof Gibeonsent[word] to Joshuato the campat Gilgal,saying,"Do not abandonyour servants;comeup to us quicklyand saveus and helpus, for allthe kingsof the Amoritesthat livein the hillcountryhave assembledagainstus."
The citieswhichthe Philistineshad takenfrom Israelwere restoredto Israel,from Ekroneven to Gath;and Israeldeliveredtheir territoryfrom the handof the Philistines.So there was peacebetweenIsraeland the Amorites.