Joshua 9:18

New International Reader's Version Bible (NIRV)
But they didn’t attack those cities. That’s because the leaders of the community had given their word and made a peace treaty with them. They had given their word in the name of the Lord, the God of Israel.

The whole community told the leaders they weren’t happy with them.

Read Joshua 9:18 in other translations