وَمَا أَرْسَلْنَا فِي قَرْيَةٍ مِّن نَّبِيٍّ إِلاَّ أَخَذْنَا أَهْلَهَا بِالْبَأْسَاء وَالضَّرَّاء لَعَلَّهُمْ يَضَّرَّعُونَ
[7:94]
And We did not send a prophet in a town but We overtook its people with distress and affliction in order that they might humble themselves.
Whenever We sent a prophet to a town, We took up its people in suffering and adversity, in order that they might learn humility.
And We sent no prophet unto any township but We did afflict its folk with tribulation and adversity that haply they might grow humble.