God is the Judge.
As Judge, He sees perfectly.
As Judge, He is always righteous and just.
As Judge, He distinguishes between the righteous and the wicked.
As Judge, He delivers the righteous and He destroys the wicked.
In Genesis, we have seen God as Judge with Adam, Eve, the serpent, Cain, the people of Noah’s age, the people of Babel’s age, and now, with Lot and the people of Sodom.
As Judge, He declares that the people of Sodom are exceedingly wicked and sinful against Him – that their sin is very grave. Here, we are exposed to their violent homosexual desires. Ezekiel 16 reveals not only their abominations, but their pride, fullness, idleness, and injustice. God destroys Sodom.
As Judge, He declares Lot as righteous. God delivers Lot.
However, the people of Sodom left many marks upon Lot and his family.
(Eze 16:49-50; Jer 23:14; Isa 5:7; Ex 3:7, 22:21-23; Ps 146:8-9; Deut 16:18; Lev 18:22-24, 20:13, 23; Rom 1:26-27; 2 Pet 2:6-8; Jude 7)