Genesis 18:25
"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?"
Cross References (ranked by relevance)
Behold, God will not cast away a perfect man, neither will he help the evil doers:
Doth God pervert judgment? or doth the Almighty pervert justice?
So that a man shall say, Verily there is a reward for the righteous: verily he is a God that judgeth in the earth.
He is the Rock, his work is perfect: for all his ways are judgment: a God of truth and without iniquity, just and right is he.
Lift up thyself, thou judge of the earth: render a reward to the proud.
Then shall ye return, and discern between the righteous and the wicked, between him that serveth God and him that serveth him not.
For we must all appear before the judgment seat of Christ; that every one may receive the things done in his body, according to that he hath done, whether it be good or bad.
Before the LORD; for he cometh to judge the earth: with righteousness shall he judge the world, and the people with equity.
Righteous art thou, O LORD, when I plead with thee: yet let me talk with thee of thy judgments: Wherefore doth the way of the wicked prosper? wherefore are all they happy that deal very treacherously?
All things have I seen in the days of my vanity: there is a just man that perisheth in his righteousness, and there is a wicked man that prolongeth his life in his wickedness.