1 Now it came to pass that Adoni-zedek king of Jerusalem heard that Joshua had taken Ai, and had utterly destroyed it—just as he had done to Jericho and its king, so he had done to Ai and its king—and that the inhabitants of Gibeon had made peace with Israel and remained among them.
2 So he feared greatly, because Gibeon was a large city, as one of the royal cities—in fact, larger than Ai—and all its men were mighty.
3 Therefore Adoni-zedek king of Jerusalem sent word to Hoham king of Hebron, Piram king of Jarmuth, Japhia king of Lachish and Debir king of Eglon saying:
4 “Come up and help me! Let’s attack Gibeon, for it has made peace with Joshua and Bnei-Yisrael.”
5 So the five kings of the Amorites—the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish and the king of Eglon—gathered themselves and went up, they and all their armies, camped against Gibeon and attacked it.