But Sihon would not permit the people of Israel to pass through his territory. He gathered his army and went out to Jahaz in the wilderness and attacked the Israelites.