After returning from Egypt, Abraham and his nephew Lot separate and Lot settles outside of Sodom with his wife and two daughters. Lot's eldest daughter Leah captures the eye of the city's king, Bera, but due to his impotency there is a ban on lovemaking. Meanwhile two astronauts, assigned to Earth to observe Sodom and to cure the people of a gonorrhea epidemic, institute a circumcision program with the aid of Abraham.