Joshua fought against the united Canaanite armies after forming an alliance with the residents of Gibeon.
Josh 11:5All these kings joined forces and came and encamped together at the waters of Merom to fight against Israel.Josh 11:6And the Lord said to Joshua, “Do not be afraid of them, for tomorrow at this time I will give over all of them, slain, to Israel. You shall hamstring their horses and burn their chariots with fire.”Josh 11:7So Joshua and all the people of war with him came against them suddenly at the waters of Merom and fell upon them.