Joshua 9:18

18 But the Israelites did not attack them, because the leaders of the community had sworn an oath to them by the Lord, the God of Israel. Then the whole community grumbled against the leaders.

Joshua 9:18 Meaning and Commentary

Joshua 9:18

And the children of Israel smote them not
The inhabitants of the four cities, when they came to them, though they found it to be a true report that was brought them of their being neighbours, and that they were imposed upon by them:

because the princes of the congregation had sworn unto them by the
Lord God of Israel;
by the Word of the Lord God of Israel, as the Targum, and therefore they restrained the people from smiting and plundering them; for it was not the oath of the princes the people so much regarded, or had such an influence on them as to abstain from seizing on them, but the princes, by reason of their oath, would not suffer them to touch them:

and all the congregation murmured against the princes;
not only for taking such an oath, but chiefly because they restrained them from smiting the Gibeonites, and taking their substance for a prey; their eager desire of revenge, and of seizing their goods, and inhabiting their cities, raised a murmur in them against the princes. This is to be understood not of the whole body of the people at Gilgal, but of all that party that was sent to Gibeon, and of the princes that went with them.

Joshua 9:18 In-Context

16 Three days after making the treaty with them, they heard that the Gibeonites were their neighbors, living among them.
17 So the Israelites set out and reached the Gibeonite cities on the third day. Now their cities were Gibeon, Chephirah, Beeroth, and Kiriath-jearim.
18 But the Israelites did not attack them, because the leaders of the community had sworn an oath to them by the Lord, the God of Israel. Then the whole community grumbled against the leaders.
19 All the leaders answered them, "We have sworn an oath to them by the Lord, the God of Israel, and now we cannot touch them.
20 This is how we will treat them: we will let them live, so that no wrath will fall on us because of the oath we swore to them."
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.