(כא) וַיֹּ֥אמֶר מֶֽלֶךְ־סְדֹ֖ם אֶל־אַבְרָ֑ם תֶּן־לִ֣י הַנֶּ֔פֶשׁ וְהָרְכֻ֖שׁ קַֽח־לָֽךְ׃ (כב) וַיֹּ֥אמֶר אַבְרָ֖ם אֶל־מֶ֣לֶךְ סְדֹ֑ם הֲרִימֹ֨תִי יָדִ֤י אֶל־ה' אֵ֣-ל עֶלְי֔וֹן קֹנֵ֖ה שָׁמַ֥יִם וָאָֽרֶץ׃ (כג) אִם־מִחוּט֙ וְעַ֣ד שְׂרֽוֹךְ־נַ֔עַל וְאִם־אֶקַּ֖ח מִכָּל־אֲשֶׁר־לָ֑ךְ וְלֹ֣א תֹאמַ֔ר אֲנִ֖י הֶעֱשַׁ֥רְתִּי אֶת־אַבְרָֽם׃
אמר רבי זכריה משום רבי ישמעאל ביקש הקב"ה להוציא כהונה משֵם שנאמר והוא כהן לאל עליון (בראשית יד, יח) כיוון שהקדים ברכת אברהם לברכת המקום הוציאה מאברהם שנאמר ויברכהו ויאמר ברוך אברם לאל עליון קונה שמים וארץ וברוך אל עליון (בראשית יד יט-כ) אמר לו אברהם וכי מקדימין ברכת עבד לברכת קונו מיד נתנה לאברהם שנאמר נאם ה' לאדושם שב לימיני עד אשית אויביך הדום לרגליך (תהלים קי, א) ובתריה כתיב נשבע ה' ולא ינחם אתה כהן לעולם על דברתי מלכי צדק (תהלים קי, ד) על דיבורו של מלכי צדק והיינו דכתיב והוא כהן לאל עליון הוא כהן ואין זרעו כהן
Rabbi Zekharya said in the name of Rabbi Yishmael: The Holy One, Blessed be He, wanted the priesthood to emerge from Shem, so that his children would be priests, as it is stated: “And Melchizedek king of Salem brought forth bread and wine; and he was priest of God the Most High” (Genesis 14:18). Once Melchizedek, traditionally identified as Shem, placed the blessing of Abraham before the blessing of the Omnipresent, He had the priesthood emerge from Abraham in particular, and not from any other descendant of Shem. As it is stated: “And he blessed him and said: Blessed be Abram of God Most High, Maker of heaven and earth, and blessed be God the Most High” (Genesis 14:19–20). Abraham said to him: And does one place the blessing of the servant before the blessing of his master? You should have blessed God first. Immediately the Holy One, Blessed be He, gave the priesthood to Abraham, as it is stated: “The Lord says to my lord: Sit at My right hand, until I make your enemies your footstool” (Psalms 110:1), and afterward it is written: “The Lord has sworn, and will not repent: you shall be a priest forever, because you are a king of righteousness [al divrati malki tzedek]” (Psalms 110:4), which is explained homiletically to mean: Due to the improper words [divrati] of Melchizedek, the offspring of Abraham shall be priests of God forever. The Gemara comments: And this is as it is written: “And he was priest of God the Most High” (Genesis 14:18), which emphasizes that he, Melchizedek, is a priest, but his children will not be priests.
תרגום יונתן על בראשית :יג-יד
יג וְאוֹדִיאַת קֳדָם ה' דְמֵימְרֵיהּ מִתְמַלֵל לָהּ וְכֵן אָמְרַת אַנְתְּ הוּא חַי וְקַיָים דְחָמֵי וְלָא מִתְחָמֵי אֲרוּם אַמְרַת הָא בְּרַם הָכָא אִתְגְלִיאַת יְקַר שְכִינְתָּא דַיְיָ בָּתַר חֶזְיָא
יד בְּגִין כֵּן קָרָא לְבֵירָא בֵּירָא דְאִתְגְלֵי עֲלָהּ חַי וְקַיָם וְהָא הִיא יְהִיבָא בֵּין רְקַם וּבֵין חֲלוּצָה
Targum Jonathan on Genesis 16:13-14
13And she gave thanks before the Lord whose Word spake to her, and thus said, Thou art He who livest and art eternal; who seest, but art not seen! for she said, For, behold, here is revealed the glory of the Shekina of the Lord after a vision.
14 Wherefore she called the well, The Well at which the Living and Eternal One was revealed; and, behold, it is situate between Rekam and Chalutsa.