Genesis 18:25

23 And Abraham drew near, and said, Wilt thou also destroy the righteous with the wicked?

24 Peradventure there be fifty righteous within the city: wilt thou also destroy and not spare the place for the fifty righteous that are therein?

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?

26 And the LORD said, If I find in Sodom fifty righteous within the city, then I will spare all the place for their sakes.

27 And Abraham answered and said, Behold now, I have taken upon me to speak unto the Lord, which 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