Another interpretation: "And Abram was ninety years old." This is what Scripture says: "You are fairer than the sons of man; grace is poured upon your lips… Gird your sword upon your thigh, O mighty one…" (Psalms 45:3-4). Concerning whom did the sons of Korah speak this psalm? Concerning Abraham. "You are fairer" than the sons of Adam, the first man. And who were his sons? Seth, Enosh, Kenan, Mahalalel, Jared, Enoch, Methuselah, Lamech, Noah. And from the sons of Noah they were called "sons of man," as it is said: "And the tower which the sons of man had built" (Genesis 11:5). "Grace is poured upon your lips" — what is this? At the time when you swore to the king of Sodom, as it is said: "And Abram said to the king of Sodom: I have lifted up my hand to the Lord, God Most High… that I will not take so much as a thread" (Genesis 14:22-23). What is "grace upon your lips"? At the time he was speaking, grace was thus poured out. And what was his reward? That the Holy One, blessed be He, said to him: Leave to Me all that you have done and all for which you have been praised — you went down into the fiery furnace and were tested with many trials for My Name's sake, you arose and pursued the kings, and you were praised throughout the world for all that you did; from now on you seek to make My might known. "Gird your sword" — place circumcision between your thighs. In that hour, your splendor and your glory shall be in the world. And when? "And Abram was…" "And I will set My covenant…"
Why Abram's Sword Was Circumcision in Psalm 45
Midrash Tanchuma Buber, Lech Lecha 22:1
ד"א ויהי אברם בן תשעים שנה. זש"ה יפיפית מבני אדם הוצק חן בשפתותיך וגו' חגור חרבך על ירך גבור וגו' (תהלים מה ג ד), על מי אמרו בני קרח המזמור הזה, על אברהם, יפיפית מבניו של אדם הראשון, ומי היו בניו, שת אנוש קינן מהללאל ירד חנוך מתושלח למך נח, ומבניו של נח נקראו בני אדם, שנאמר ואת המגדל אשר בנו בני האדם (בראשית יא ה), הוצק הן בשפתותיך מהו, בשעה שנשבעת למלך סדום, שנאמר ויאמר אברם אל מלך סדום הרימותי ידי אל ה' אל עליון וגו' אם מחוט (שם יד כב כג), מהו חן בשפתותך, בשעה שהיתה משיח כך יוצק חן, ומה שכרו, שכך אמר לו הקב"ה הניח לי כל מה שעשית, וכל מה שנשתבחת, ירדת לכבשן האש ונתנסית נסיונות הרבה על שמי עמדת ורדפת את המלכים, ונשתבחת בעולם בכל מה שעשית, מכאן ואילך מבקש אתה להודיע גבורתי, חגור חרבך, תן המילה בין יריכותיך, באותה שעה הודך והדרך בעולם, ואימתי ויהי אברם וגו' ואתנה בריתי וגו'.