God condemned the cities of Sodom and Gomorrah to total destruction, burning them to ash, as an example of what will happen to those who live evil lives.