Genesis 18:25, etc. "Doesn’t the Judge of all the Earth judge with justice?” (Genesis 18:25b, The Message Bible)
ESV - 25 Far be it from you to do such a thing, to put the righteous to death with the wicked, so that the righteous fare as the wicked! Far be that from you! Shall not the Judge of all the earth do what is just?
For follow-up discussion and general commentary on the topic. Comments are sorted chronologically.