And if only the people of the cities had believed and feared Allah , We would have opened upon them blessings from the heaven and the earth ; but they denied [ the messengers ] , so We seized them for what they were earning . "