One of the strangest and most disturbing episodes in the Torah occurs immediately before the destruction of Sodom.