(Genesis 14:23:) "Not from a thread to a shoe-strap <will I take anything that is yours>." Why? Because the Holy One, blessed be He, has promised me that He will make me rich, as it is said (Genesis 12:2): "And I will make your name great." Should I then take from what is yours, so that you would say, "I have made Abram rich"? The Holy One, blessed be He, said: You said, "not from a thread." By your life, I Myself shall give to your children an altar with a thread of red dye encircling it, just as our Rabbis taught (in Mishnah Middot 3:1).
Abram Refuses a Thread and Earns the Altar's Red Line
Midrash Tanchuma Buber, Lech Lecha 17:4
אם מחוט ועד שרוך נעל (בראשית יד כב). למה, שהבטיחני הקב"ה שיעשרני, שנאמר ואגדלה שמך (בראשית יב ב), ואני אטול משלך, שתאמר אני העשרתיך, אמר הקב"ה, אתה אמרת אם מחוט, חייך שאני ונתן לבניך מזבח שחוט אל סיקרא מקיפו, כשם ששנו רבותינו.