What does Joshua 9:18 mean?
But they didn't attack them, because the leaders had sworn an oath to them in God's name. The whole community complained to the leaders about this. Joshua 9:18 - Modern Text Bible
(Even though the people are upset, the leaders feel bound by their promise to God and won't break it.)