they formed an alliance to fight against Joshua and Israel. 