Surah Al-A'raf, Ayah 94 (7:94)
وَمَآ أَرۡسَلۡنَا فِي قَرۡيَةٖ مِّن نَّبِيٍّ إِلَّآ أَخَذۡنَآ أَهۡلَهَا بِٱلۡبَأۡسَآءِ وَٱلضَّرَّآءِ لَعَلَّهُمۡ يَضَّرَّعُونَ ٩٤
Arabic: King Fahd Complex Hafs text.
English translation
94. And We sent no Prophet unto any town (and they denied him), but We seized its people with suffering from extreme poverty (or loss in wealth) and loss of health (and calamities), so that they might humiliate themselves (and repent to Allâh).
Hilali and Khan (QuranEnc.com)