Sura 39 Az-Zumar (The Troops), ayah 49
-
فَإِذَا مَسَّ الْإِنْسَانَ ضُرٌّ دَعَانَا ثُمَّ إِذَا خَوَّلْنَاهُ نِعْمَةً مِنَّا قَالَ إِنَّمَا أُوتِيتُهُ عَلَىٰ عِلْمٍ ۚ بَلْ هِيَ فِتْنَةٌ وَلَٰكِنَّ أَكْثَرَهُمْ لَا يَعْلَمُونَ
And when adversity touches man, he calls upon Us; then when We bestow on him a favor from Us, he says, "I have only been given it because of (my) knowledge." Rather, it is a trial, but most of them do not know.
39:49
Translation: Saheeh International