John Gill emphasizes the righteousness of Lot, who, despite living among the wicked inhabitants of Sodom, was justified by Christ's righteousness and delivered from destruction. He highlights that Lot was a just man, burdened by the sinful actions of those around him, and contrasts the negative views held by some Jews with the biblical portrayal of Lot as a righteous individual. Gill points out that Lot's distress over the immorality surrounding him reflects the struggles of a good man living in a corrupt world, illustrating the importance of maintaining one's faith and righteousness amidst adversity.