Genesis 18

1The LORD appeared to Abraham by the oaks of Mamre while he was sitting at the entrance of his tent in the heat of the day. 2He looked up and saw three men standing nearby. When he saw them, he ran from the tent entrance to meet them and bowed low to the ground.

3He said, “My lord, if I have found favor with you, please do not pass by your servant. 4Let a little water be brought so you can wash your feet and rest beneath the tree. 5I will bring a bite of bread to give you strength; then you may go on, since you have come by your servant.” They said, “Do as you have said.”

6Abraham hurried into the tent to Sarah and said, “Quick—take three measures of fine flour, knead it, and make some cakes.” 7Then Abraham ran to the herd, chose a tender, good calf, and gave it to a young servant, who hurried to prepare it. 8He brought curds, milk, and the calf that had been prepared, and set them before the men. While they ate under the tree, he stood nearby.

9They asked him, “Where is Sarah, your wife?” He answered, “There, in the tent.” 10One of them said, “I will certainly return to you at this time next year, and Sarah your wife will have a son.” Sarah was listening at the tent entrance behind him.

11Abraham and Sarah were old, well along in years, and Sarah was past the time of women. 12So Sarah laughed to herself: “Now that I am worn out, am I to have pleasure? And my lord is old too!” 13The LORD said to Abraham, “Why did Sarah laugh and say, ‘Will I really give birth now that I am old?’ 14Is anything too extraordinary for the LORD? At the appointed time I will return to you, at this time next year, and Sarah will have a son.” 15Sarah denied it, because she was afraid. “I did not laugh,” she said. But he said, “No—you did laugh.”

16The men got up from there and looked out toward Sodom. Abraham was walking with them to send them on their way. 17The LORD said, “Should I hide from Abraham what I am about to do? 18Abraham will surely become a great and powerful nation, and all the nations of the earth will find blessing through him. 19I have known 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. Then the LORD will bring about for Abraham what he has promised him.”

20Then the LORD said, “The outcry against Sodom and Gomorrah is immense, and their sin is terribly heavy. 21I will go down and see whether they have done altogether what the cry that has reached me says they have done. If not, I will know.”

22The men turned from there and went toward Sodom, but Abraham remained standing before the LORD. 23Abraham came closer and said, “Will you really sweep away the righteous together with the wicked? 24Suppose there are fifty righteous people in the city. Will you sweep it away and not spare the place for the sake of the fifty righteous who are in it? 25Far be it from you to do such a thing—to put the righteous to death along with the wicked, treating the righteous like the wicked. Far be it from you! Will the Judge of all the earth not do what is just?”

26The LORD said, “If I find fifty righteous people in Sodom, I will spare the whole place for their sake.” 27Abraham replied, “Look, I have taken it on myself to speak to the Lord, though I am only dust and ashes. 28What if the fifty righteous are five short? Will you destroy the whole city because of five?” He said, “I will not destroy it if I find forty-five there.”

29Abraham spoke to him again: “What if forty are found there?” He said, “I will not do it for the sake of forty.” 30Then Abraham said, “Please do not be angry, Lord, while I speak. What if thirty are found there?” He said, “I will not do it if I find thirty there.” 31Abraham said, “Look, I have taken it on myself to speak to the Lord. What if twenty are found there?” He said, “I will not destroy it for the sake of twenty.”

32Then Abraham said, “Please do not be angry, Lord. Let me speak just this once more. What if ten are found there?” He said, “I will not destroy it for the sake of ten.” 33When the LORD had finished speaking with Abraham, he went away, and Abraham returned to his place. - IA: codex:gpt-5.6-terra