Surah Az-Zumar Verse 49 - English Translation by Muhammad Mahmoud Ghali
Surah Az-Zumarفَإِذَا مَسَّ ٱلۡإِنسَٰنَ ضُرّٞ دَعَانَا ثُمَّ إِذَا خَوَّلۡنَٰهُ نِعۡمَةٗ مِّنَّا قَالَ إِنَّمَآ أُوتِيتُهُۥ عَلَىٰ عِلۡمِۭۚ بَلۡ هِيَ فِتۡنَةٞ وَلَٰكِنَّ أَكۡثَرَهُمۡ لَا يَعۡلَمُونَ
So when an adversity touches man, he invokes Us; thereafter when We grant him a favor from Us, he says, "Surely I have been brought it only because of (my) knowledge." No indeed, it is a temptation, but most of them do not know