But they didn't attack those cities. That's because the leaders of the community had taken an oath and made a peace treaty with them. They had taken the oath in the name of the Lord, the God of Israel. The whole community told the leaders they weren't happy with them.