S'dom
Ten righteous people are not found and the cities are destroyed, but Lot and his family are spared. (We don't know, because they aren't the POV characters in the story, if anybody else was spared from either city.) Mind, we're dealing with a pretty loose definition of "righteous" (more on that in a bit), but nonetheless God does not destroy the righteous alongside the wicked, even if there are not enough righteous to provide a safety net for the whole area. Read this way it seems clear that the judge of all does do justice (as Avraham challenged); sparing the cities entirely might be closer to mercy than strict justice.
I can't say anything about Lot's wife and daughters (about whom we learn almost nothing), but Lot seems to have some problems with righteous behavior. Perhaps it is the corrupting influence of the city he chose to live in; surely he had the opportunity to learn better while in Avraham's company, but he didn't learn enough to stay out of bad neighborhoods. Despite that he starts out well enough, escorting the visitors to his house and offering them food and shelter (though one person in our study group noted that he, unlike Avraham, was ready to push them out the next morning). When the mob arrives at his house he steps outside and closes the door behind him to protect those inside. So far, so good, but we all know what happens next -- he protect the visitors at the expense of his own family. Bzzt. A truly righteous person takes on risk himself rather than using others as a shield.
And yet, despite the reprehensible crime he committed against his daughters, Lot was allowed to escape. The things he got right were enough for the divine judge to allow him to survive this destruction, apparently. The world is not so black and white as we would sometimes like it to be.
no subject
I've read stuff that compared it to Jacob as an offering: that it was sincere but protected, so it was OK. Or that because Lot really knew who he was protecting, it was OK. Or that it was just a case of daughters being a special type of chattel and unequal, that it was OK.
Or that it wasn't OK, and what sort of God is this?
Lots to think about.