After Abram returned from defeating Chedorlaomer and the kings who were with him, the king of Sodom went out to meet him in the Valley of Shaveh (that is, the King's Valley).
References for Genesis 14:17
Then Melchizedek, king of Salem, brought out bread and wine; he was a priest to God Most High.
References for Genesis 14:18
He blessed him and said: Abram is blessed by God Most High, Creator of heaven and earth,
References for Genesis 14:19
and give praise to God Most High who has handed over your enemies to you. And Abram gave him a tenth of everything.
References for Genesis 14:20
Then the king of Sodom said to Abram, "Give me the people, but take the possessions for yourself."
But Abram said to the king of Sodom, "I have raised my hand in an oath to the Lord, God Most High, Creator of heaven and earth,
that I will not take a thread or sandal strap or anything that belongs to you, so you can never say, 'I made Abram rich.'
I will take nothing except what the servants have eaten. But as for the share of the men who came with me-Aner, Eshcol, and Mamre-they can take their share."
References for Genesis 14:24