Quoting Commentary for Nedarim 32b:7

שנאמר ויברכהו ויאמר ברוך אברם לאל עליון קונה שמים וארץ וברוך אל עליון (בראשית יד יט-כ) אמר לו אברהם וכי מקדימין ברכת עבד לברכת קונו מיד נתנה לאברהם שנאמר נאם ה' לאדני שב לימיני עד אשית אויביך הדום לרגליך (תהלים קי, א) ובתריה כתיב נשבע ה' ולא ינחם אתה כהן לעולם על דברתי מלכי צדק (תהלים קי, ד) על דיבורו של מלכי צדק

Wisdom strengtheneth the wise more than ten mighty ones which are in the city.<span class="x" onmousemove="('comment',' Ibid. VII, 19. ');"><sup>6</sup></span>

Or HaChaim

ומלכי צדק מלך שלם, And Malki Tzedek the king of Salem, etc. Our sages (Midrash Aggadah) claim that Malki Tzedek was identical with Noach's son Shem. The reason that the Torah interrupts the report of Lot's rescue by reporting Malki Tzedek's arrival is to contrast his behaviour with that of the king of Sodom. Whereas Malki Tzedek came with gifts and a blessing though Abraham had done nothing for him, the king of Sodom came empty-handed although he owed Abraham a great debt of gratitude for having saved both his life and his kingdom. The Torah merely shows the difference between the behaviour of the wicked and that of the just.
Ask a RabbiBookmarkShareCopy

Rashi

ומלכי צדק AND MELCHIZEDEK — A Midrashic explanation is that he is identical with Shem, son of Noah (Nedarim 32b).
Ask a RabbiBookmarkShareCopy

Radak

ומלכי צדק מלך שלם, the word שלם is another word for ירושלים, and we find it referred to as such in Psalms 76,3 ויהי בשלם סכו, “Salem became His abode.” It was customary to give the title Malki Tzedek or Adoni Tzedek, to kings of Jerusalem in those days, just as the kings of Egypt were called Pharaoh. Compare Joshua 10,1 where we find אדני צדק מלך ירושלים. Jerusalem traditionally represented the center of righteousness and peace. It is a place in which iniquity is less tolerated than anywhere else. This is why the Torah warned in Leviticus 18,28 that the Israelites should take care that the land not spew them out just as it had spewed out previous inhabitants because they had defiled it. The reason the Torah in Deuteronomy 31,16 uses the somewhat enigmatic expression אלוהי נכר הארץ, is that the kind of conduct by the people in that city that were spewed out, was a conduct that was irreconcilable (alien) with the very nature, spiritual climate, prevailing in, and being part of that holy city. The sons of Korach already recognised and extolled this spiritual climate of the very city when they said in Psalms 48,3 יפה נוף משוש כל הארץ הר ציון ירכתי צפון קרית מלך רב, “fair-crested, joy of all the earth, Mount Zion, summit of Tzafon, city of the great King.” In the Midrash quoted by Rashi, Malki Tzedek is identified as Shem, the son of Noach.
Ask a RabbiBookmarkShareCopy