Joshua 9:14-18 NIV
The Israelites sampled their provisions but did not inquire of the Lord. Then Joshua made a treaty of peace with them to let them live, and the leaders of the assembly ratified it by oath. Three days after they made the treaty with the Gibeonites, the Israelites heard that they were neighbors, living near them. So the Israelites set out and on the third day came to their cities: Gibeon, Kephirah, Beeroth and Kiriath Jearim. But the Israelites did not attack them, because the leaders of the assembly had sworn an oath to them by the Lord, the God of Israel. The whole assembly grumbled against the leaders,