“Lot went outside to meet them and shut the door behind him and said, “No, my friends. Don’t do this wicked thing. Look, I have two daughters who have never slept with a man. Let me bring them out to you, and you can do what you like with them. But don’t do anything to these men, for they have come under the protection of my roof.”” Gen. 19:6-8
One moment Lot seems righteous and then the next moment wicked. Ironically he is admonishing the mob outside his door not to act wickedly. This could be hypocritical, or it could be that the place is so wicked, that what Lot is offering, comparatively, is not as wicked as the men wanting to have relations with the angels.
One view is that the homosexual act was merely a punishment against unwanted visitors to Sodom. If so, perhaps Lot could call their bluff, believing the townspeople were not actually interested in his daughters in the slightest, but rather a brief diversion to get the townspeople to calm down and consider their request with some rationale. Unfortunately it only further incited them. Without this view, it is somewhat difficult to reconcile this passage with 2 Peter 2:7 in the New Testament which refers to Lot as being righteous.
Even so, the mob is not interested in Lot’s daughters, or Lot himself, which infers that the issue is directly with the town’s visitors. When the mob stopped and reflected however, they turned on Lot, as he was a stranger not long ago himself (v. 9).
In verse 8 note the reference to hospitality (“they have come under the protection of my roof”). Hospitality is a theme in chapters 18 and 19, as well as an illustration in contrasts; Abraham provided wonderful hospitality to these same angels in Gen. 18, but we see the terrible treatment they receive in Sodom.