By a stratagem the Gibeonites secured for themselves and their allies in Chephirah, Beeroth and Kirjath-jearim immunity from attack by the Israelites. Terrified by the fate of Jericho and Ai, a company disguised as ambassadors from a far country, their garments and shoes worn, and their provisions moldy as from the length of their journey, went to Joshua at Gilgal, and persuaded him and the princes of Israel to make a covenant with them. Three days later the deception was discovered and the wrath of the congregation of Israel aroused. In virtue of the covenant their lives were secured; but for their duplicity Joshua cursed them, and condemned them to be bondsmen, "hewers of wood and drawers of water for the house of my God" (
Jos 9:23), "for the congregation and for the altar of the Lord" (
Jos 9:27 the King James Version). This points to their employment in the sanctuary; and possibly may shed some light on the massacre of the Gibeonites by Saul (
2Sa 21:1 f). The rest of the Canaanites resented the defection of the Hivites which so greatly weakened the forces for defense, and, headed by Adoni-zedek of Jerusalem, they assembled to wreak vengeance on Gibeon. The threatened city appealed to Joshua, who made a swift night march, fell suddenly upon the confederates, routed them, and "chased them by the way of the ascent of Beth-horon, and smote them to Azekah, and unto Makkedah" (
Jos 10:1 ).