25 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 right?” -- NIV
Genesis 18:22 - 33
ESV - 22 So the men turned from there and went toward Sodom, but Abraham still stood before the Lord. 23 Then Abraham drew near and said, "Will you indeed sweep away the righteous with the wicked?
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.