Genesis 18:25

23 Abraham stepped forward and said, “Will You really sweep away the righteous with the wicked?

24 What if there are fifty righteous ones in the city? Will You really sweep it away and not spare the place for the sake of the fifty righteous ones who are there?

Far be it from You to do such a thing—to kill the righteous with the wicked, so that the righteous and the wicked are treated alike. Far be it from You! Will not the Judge of all the earth do what is right?”

26 So the LORD replied, “If I find fifty righteous ones within the city of Sodom, on their account I will spare the whole place.”

27 Then Abraham answered, “Now that I have ventured to speak to the Lord—though I am but dust and ashes—

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
Far be it from You to do such a thing—to kill the righteous with the wicked, so that the righteous and the wicked are treated alike. Far be it from You! Will not the Judge of all the earth do what is right?”
KJV
That be far from thee to do after this manner, to slay the righteous with the wicked: and that the righteous should be as the wicked, that be far from thee: Shall not the Judge of all the earth do right?
WEB
May it be far from you to do things like that, to kill the righteous with the wicked, so that the righteous should be like the wicked. May that be far from you. Shouldn’t the Judge of all the earth do right?”
ASV
That be far from thee to do after this manner, to slay the righteous with the wicked, that so the righteous should be as the wicked; that be far from thee: shall not the Judge of all the earth do right?
DARBY
Far be it from thee to do so, to slay the righteous with the wicked, that the righteous should be as the wicked far be it from thee! Will not the Judge of all the earth do right?
BLB
Far be it from You to do such a thing as this, to slay the righteous with the wicked, so that the righteous should be as the wicked. Far be it from You! Shall the Judge of all the earth not do justice?”
ÅB
Det være langt fra deg å gjøre slikt og slå ihjel den rettferdige sammen med den ugudelige, så det går den rettferdige på samme vis som den ugudelige! Det være langt fra deg! Den som dømmer hele jorden, skulle ikke han gjøre rett?
OTB
Langt være det fra deg å gjøre en slik ting—å drepe de rettferdige sammen med de urettferdige, og behandle de rettferdige og de urettferdige likt. Langt være det fra deg! Skal ikke hele jordens Dommer gjøre det som er rett?”
B1930
Det være langt fra dig å gjøre slikt og slå ihjel den rettferdige sammen med den ugudelige, så det går den rettferdige på samme vis som den ugudelige! Det være langt fra dig! Den som dømmer hele jorden, skulde ikke han gjøre rett?

Study notes (Tyndale)

Original text and word study

Cross references