GenesisChapter 18

He looked up and saw three men standing nearby. When he saw them, he ran from the tent entrance to meet them and bowed to the ground.
"My lord," he said, "if I have found favor in your eyes, do not pass by your servant.
Let me bring a piece of bread to refresh you, and then go on your way—since you have come by your servant." "Very well," they said, "do as you have said."
Abraham hurried into the tent to Sarah. "Quick," he said, "three measures of the finest flour! Knead it and bake bread." [footnote: About twenty liters.]
Then he ran to the herd, took a choice, tender calf, and gave it to his servant, who hurried to prepare it.
He took curds and milk and the calf that had been prepared, and set it all before them, and he stood by them under the tree while they ate.
Then he said, "I will surely return to you about this time next year, and Sarah your wife will have a son." Now Sarah was listening at the entrance of the tent, behind him.
But the LORD said to Abraham, "Why did Sarah laugh and say, 'Can I really bear a child, now that I am old?'
Is anything too hard for the LORD? At the appointed time I will return to you, about this time next year, and Sarah will have a son."
Then the men got up to leave and looked down toward Sodom, and Abraham walked along with them to see them on their way.
Abraham will surely become a great and mighty nation, and through him all the nations of the earth will be blessed.
For I have chosen him, so that he will direct his children and his household after him to keep the way of the LORD by doing what is right and just, so that the LORD may bring about for Abraham what he has promised him."
Then the LORD said, "The outcry against Sodom and Gomorrah is great, and their sin is very grave.
I will go down now and see whether they have acted as badly as the outcry that has reached me. If not, I will know.
The men turned from there and went toward Sodom, but Abraham remained standing before the LORD.
Then Abraham came near and said, "Will you really sweep away the righteous with the wicked?
Suppose there are fifty righteous people in the city. Will you really sweep it away and not spare the place for the sake of the fifty righteous who are in it?
Far be it from you to do such a thing—to kill the righteous with the wicked, treating the righteous and the wicked alike! Far be it from you! Will not the Judge of all the earth do what is just?"
The LORD said, "If I find fifty righteous people in the city of Sodom, I will spare the whole place for their sake."
Abraham answered, "Now that I have ventured to speak to the Lord, though I am but dust and ashes—
suppose the fifty righteous are five short. Will you destroy the whole city because of five?" "If I find forty-five there," he said, "I will not destroy it."
Abraham spoke to him again: "What if only forty are found there?" He said, "For the sake of the forty, I will not do it."
Then he said, "May the Lord not be angry, but let me speak. Suppose only thirty are found there?" He answered, "If I find thirty there, I will not do it."
He said, "Now that I have ventured to speak to the Lord, suppose only twenty are found there?" He said, "For the sake of the twenty, I will not destroy it."
Then he said, "May the Lord not be angry, but let me speak just once more. Suppose only ten are found there?" He answered, "For the sake of the ten, I will not destroy it."
When the LORD had finished speaking with Abraham, he went on his way, and Abraham returned home.