If the people of those towns had believed and been mindful of God, We would have showered them with blessings from the heavens and earth, but they rejected the truth and so We punished them for their misdeeds.
If the people of the towns had but believed and feared Allah, We should indeed have opened out to them (All kinds of) blessings from heaven and earth; but they rejected (the truth), and We brought them to book for their misdeeds.