Genesis 18:23-25

23Then Abraham drew near and said, a“Will you indeed sweep away the righteous with the wicked? 24Suppose there are fifty righteous within the city. Will you then sweep away the place and not spare it for the fifty righteous who are in it? 25Far be it from you to do such a thing, to put the righteous to death with the wicked, bso that the righteous fare as the wicked! Far be that from you! cShall not the Judge of all the earth do what is just?”
Copyright information for ESV