Joshua 10:1

And it happened that when Adoni-Zedek king of Jerusalem heard that Joshua captured Ai and had utterly destroyed it (just as he had done to Jericho and its king, so he did to Ai and its king) and that the inhabitants of Gibeon had made peace with Israel and were among them,

Joshua 6:21

And they utterly destroyed {by the edge of the sword} all who [were] in the city, both men and women, young and old, ox, sheep, and donkey.

Genesis 14:18

And Melchizedek, the king of Salem, brought out bread and wine. (He was the priest of God Most High).

Joshua 8:2

You will do to Ai and its king that which you did to Jericho and its king; you may take only its spoils and livestock as booty for yourself. Set for yourself an ambush against the city [from] behind [it]."

Joshua 8:22-29

Then the others from the city came out to meet them, {and they found themselves surrounded by Israel}, {some on one side, and others on the other side}. And they struck them down until no survivor or fugitive [was] left.

Joshua 9:15-27

And Joshua made peace with them, and {he made a covenant with them} to allow them to live happily, and the leaders of the congregation swore [an oath] to them.

Joshua 11:19-20

There was not a city that made peace with the {Israelites} besides the Hivites and the inhabitants of Gibeon--{all were taken in battle}.

Hebrews 7:1

For this Melchizedek, king of Salem, priest of the most high God, who met Abraham [as he] was returning from the slaughter of the kings and blessed him,

Treasury of Scripture Knowledge

Summary

Now it came to pass, when Adonizedek king of Jerusalem had heard how Joshua had taken Ai, and had utterly destroyed it; as he had done to Jericho and her king, so he had done to Ai and her king; and how the inhabitants of Gibeon had made peace with Israel, and were among them;

General references

Bible References

Adoni-zedek

Genesis 14:18
And Melchizedek, the king of Salem, brought out bread and wine. (He was the priest of God Most High).
Hebrews 7:1
For this Melchizedek, king of Salem, priest of the most high God, who met Abraham [as he] was returning from the slaughter of the kings and blessed him,

As he had

Joshua 6:21
And they utterly destroyed {by the edge of the sword} all who [were] in the city, both men and women, young and old, ox, sheep, and donkey.
Joshua 8:2
You will do to Ai and its king that which you did to Jericho and its king; you may take only its spoils and livestock as booty for yourself. Set for yourself an ambush against the city [from] behind [it]."

How the

Joshua 9:15
And Joshua made peace with them, and {he made a covenant with them} to allow them to live happily, and the leaders of the congregation swore [an oath] to them.
Joshua 11:19
There was not a city that made peace with the {Israelites} besides the Hivites and the inhabitants of Gibeon--{all were taken in battle}.

General references

Joshua 10:23
And they did so, and brought him these five kings from the cave, the king of Jerusalem, the king of Hebron, the king of Jarmuth, the king of Lachish, and the king of Eglon.