Az-Zumar • EN-TAFSIR-IBN-ABBAS
﴿ فَإِذَا مَسَّ ٱلْإِنسَٰنَ ضُرٌّۭ دَعَانَا ثُمَّ إِذَا خَوَّلْنَٰهُ نِعْمَةًۭ مِّنَّا قَالَ إِنَّمَآ أُوتِيتُهُۥ عَلَىٰ عِلْمٍۭ ۚ بَلْ هِىَ فِتْنَةٌۭ وَلَٰكِنَّ أَكْثَرَهُمْ لَا يَعْلَمُونَ ﴾
“NOW [thus it is:] when affliction befalls man, he cries out unto Us for help; but when We bestow upon him a boon by Our grace, he says [to himself], “I have been given [all] this by virtue of [my own] wisdom!” Nay, this [bestowal of grace] is a trial: but most of them understand it not!”
(Now when hurt) hardship (toucheth a man) the disbelieving man (he crieth unto Us) to remove the hardship from him, (and afterward when We have granted him) then when We have substituted it for him into (a boon from Us, he saith: Only by force of knowledge I obtained it) I obtained this wealth only because Allah knows I am righteous and good. (Nay, but it is a test) it is a trial and plot against them. (But most of them) all of them (know not) this.