Adoni-Zedek in the Bible Encyclopedia - ISBE

a-do-ni-ze'-dek ('adhonitsedheq, "lord of righteousness"): King of Jerusalem at the time of the conquest of Canaan (Josh 10:1). When he heard of the fall of Ai and the submission of the Gibeonites, he entered into a league with four other kings to resist Joshua and Israel, and to punish Gibeon (Josh 10:3,4), but was overthrown by Joshua in a memorable battle (10:12-14). Adoni-zedek and his four allies were shut up in a cave, while the battle lasted, and afterward were taken out by Joshua's order, put to death and hanged on trees (Josh 10:22- 27). It is noticeable that the name is almost the equivalent of Melchizedek, malkitsedheq, "king of righteousness," who was ruler of Jerusalem in the time of Abraham.

Link: https://bible-history.com/isbe/A/ADONI-ZEDEK/