Genesis 14:11-24 NIV
The four kings seized all the goods of Sodom and Gomorrah and all their food; then they went away. They also carried off Abram’s nephew Lot and his possessions, since he was living in Sodom.
A man who had escaped came and reported this to Abram the Hebrew. Now Abram was living near the great trees of Mamre the Amorite, a brother of Eshkol and Aner, all of whom were allied with Abram. When Abram heard that his relative had been taken captive, he called out the 318 trained men born in his household and went in pursuit as far as Dan. During the night Abram divided his men to attack them and he routed them, pursuing them as far as Hobah, north of Damascus. He recovered all the goods and brought back his relative Lot and his possessions, together with the women and the other people.
After Abram returned from defeating Kedorlaomer and the kings allied with him, the king of Sodom came out to meet him in the Valley of Shaveh (that is, the King’s Valley).
Then Melchizedek king of Salem brought out bread and wine. He was priest of God Most High, and he blessed Abram, saying,
“Blessed be Abram by God Most High,
Creator of heaven and earth.
And praise be to God Most High,
who delivered your enemies into your hand.”
Then Abram gave him a tenth of everything.
The king of Sodom said to Abram, “Give me the people and keep the goods for yourself.”
But Abram said to the king of Sodom, “With raised hand I have sworn an oath to the LORD, God Most High, Creator of heaven and earth, that I will accept nothing belonging to you, not even a thread or the strap of a sandal, so that you will never be able to say, ‘I made Abram rich.’ I will accept nothing but what my men have eaten and the share that belongs to the men who went with me—to Aner, Eshkol and Mamre. Let them have their share.”
NIV: New International Version