But if the people of these regions had believed and feared God , We would surely have showered on them blessings of the heavens and the earth ; but they only denied , and We punished them for their deeds .