Abraham prayed in Chapter 18 that God not destroy Sodom and Gomorrah because of the small number of righteous people who lived there. This is presumably Lot and his family (if we connect the dots), but the story makes a lesser deal about their righteousness and a bigger deal about Abraham’s intercession. We’re supposed to see Chapter 19 as an answer to Abraham’s prayer.