Judge Of All The Earth

And the men turned their faces from thence, and went toward Sodom: but Abraham stood yet before the LORD.  And Abraham drew near, and said, “Wilt Thou also destroy the righteous with the wicked?  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?”  And the LORD said, “If I find in Sodom fifty righteous within the city, then I will spare all the place for their sakes.”
Genesis 18:22-26

Of course, the Judge of all the earth will do right. He can do no wrong. He knows how to deliver the righteous from the judgment of the unrighteous.

All who come to God through the cross of Jesus Christ, shall be cleansed, forgiven, and given the righteousness of Christ.

Shall I Hide… That Thing Which I Do?

And the men rose up from thence, and looked toward Sodom: and Abraham went with them to bring them on the way.  And the LORD said,
“Shall I hide from Abraham that thing which I do; seeing that Abraham shall surely become a great and mighty nation, and all the nations of the earth shall be blessed in him?  For I know him, that he will command his children and his household after him, and they shall keep the way of the LORD, to do justice and judgment; that the LORD may bring upon Abraham that which He hath spoken of him.”
And the LORD said,
“Because the cry of Sodom and Gomorrah is great, and because their sin is very grievous;  I will go down now, and see whether they have done altogether according to the cry of it, which is come unto Me; and if not, I will know.”
And the men turned their faces from thence, and went toward Sodom: but Abraham stood yet before the LORD.
Genesis 18:16-22

Though an host should encamp against me, my heart shall not fear: though war should rise against me, in this will I be confident.  One thing have I desired of the LORD, that will I seek after; that I may dwell in the house of the LORD all the days of my life, to behold the beauty of the LORD, and to enquire in His temple.
Psalm 27:3-4

Go to the ant, thou sluggard; consider her ways, and be wise: which having no guide, overseer, or ruler, provideth her meat in the summer, and gathereth her food in the harvest.
Proverbs 6:6-8