Az-Zumar 39:8
۞ وَإِذَا مَسَّ ٱلْإِنسَـٰنَ ضُرٌّ دَعَا رَبَّهُۥ مُنِيبًا إِلَيْهِ ثُمَّ إِذَا خَوَّلَهُۥ نِعْمَةً مِّنْهُ نَسِىَ مَا كَانَ يَدْعُوٓا۟ إِلَيْهِ مِن قَبْلُ وَجَعَلَ لِلَّهِ أَندَادًا لِّيُضِلَّ عَن سَبِيلِهِۦ ۚ قُلْ تَمَتَّعْ بِكُفْرِكَ قَلِيلًا ۖ إِنَّكَ مِنْ أَصْحَـٰبِ ٱلنَّارِ
Wa-itha massa al-insana durrundaAAa rabbahu muneeban ilayhi thumma ithakhawwalahu niAAmatan minhu nasiya ma kana yadAAooilayhi min qablu wajaAAala lillahi andadan liyudillaAAan sabeelihi qul tamattaAA bikufrika qaleelan innaka min as-habiannar
And when adversity touches man, he calls upon his Lord, turning to Him [alone]; then when He bestows on him a favor from Himself, he forgets Him whom he called upon before, and he attributes to Allāh equals to mislead [people] from His way. Say, "Enjoy your disbelief for a little; indeed, you are of the companions of the Fire."
And when man is afflicted by pain, he calls his Lord turning to Him passionately. Thereafter, when He blesses him with some favor from Him, he forgets that for which he was calling Him earlier, and sets up partners for Allah, so that he leads others astray from His way. Say, “Enjoy (the pleasure of) your disbelief for a while, (then) surely, you are from among the people of the Fire.”