if you read the story...Sodom and Ghmorra (sp?) ?
Sure Gawd punishes. it started with Throwing Adam and Eve from the garden of eatin.
the punishment that God gave was 'not warning them of the catastrophe'....not the catastrophe itself....and the STORY was about God giving Abraham more and more chances to SAVE them all....God reduced it down to just one person being good and He would have given them warning, from first starting with many more in his negotiations with abraham.....
One good person? and he saved Lott who gave his daughters to prostitution and worse from what I recall.