Whenever We sent a prophet to a town, We took up its people in suffering and adversity, in order that they might learn humility. 94 But when We changed hardship to ease, and they rose and prospered, (they forgot Our favours) and said: "Our ancestors had also known suffering and joy." So We caught them unawares. 95 Yet if the people of those communities had but attained to faith and been conscious of Us, We would indeed have opened up for them blessings out of heaven and earth: but they gave the lie to the truth - and so We took them to task through what they [themselves] had been doing. 96 Did the people of the towns then feel secure against the coming of Our Punishment by night while they are asleep? 97 Or, are the people of the townships secure that Our wrath would not come upon them by daylight while they are disporting themselves? 98 Are then they secure against the contrivance of Allah? And none feeleth secure against the contrivance of Allah except the people who are losers. 99