אלשיך
Alshekh on Torah, Genesis 14:17
Q — Why does the Torah interrupt the flow between Melech Sdom going out to meet Avraham (v.17) and his actual conversation with him (v.21) by inserting Malki Tzedek's blessing in between?
A — The 'disorder' is deliberate. The Torah juxtaposes the two kings to expose the gap between them. The king of the city of 'רעים וחטאים' did not come out to greet Avraham when he set out to battle — only after the victory, and only after seeing the surrounding nations gathering at עמק שוה to crown Avraham; even then he came empty-handed, expecting to receive rather than to give. Malki Tzedek, by contrast — מלך שלם and כהן לאל עליון — brought לחם ויין to honor Avraham, though by his stature he should have been the one receiving honor. The Torah's editorial 'interruption' is the chiddush: side by side, the contrast preaches what kind of king Avraham's tradition will produce.
הנה מהראוי יסמוך אחר פסוק זה 'ויאמר מלך סדום', ולא יפסיק בנתים בענין מלכי צדק. אך יאמר ראו נא מה בין מלך סדום למלך שלם, כי מלך סדום, למה שהוא מ'רעים וחטאים', לא יצא לקראת אברם להקביל פניו בבאו להכות את אויביו, כי אם עתה 'אחרי שובו מהכות את כדרלעומר וכו'', וגם עתה לא נתעורר כי אם 'אל עמק שוה'... אך מלכי צדק למה שהוא מלך שלם הוציא לחם ויין עם שהוא כהן לאל עליון, ואדרבה מהראוי שהכל יביאו לו דורון.