The scholar Abdur Rahmaan ibn Nasir as Sa’dee rahimahullaah said about the statement of Allaah, the Most High:
<<And when some harm touches man, he calls upon his Lord repentantly.
Then when He bestows a blessing upon him from Himself, he forgets that which he was supplicating about beforehand and he sets up rivals along with Allaah.>>
(Soorah az Zumar (39) aayah 8)
He, the Most High, informs (us) of His generosity to His servant, and His fine treatment and goodness to him – and how little is the gratitude of His servant.
And that when harm touches him, by way of illness or poverty or falling into difficulty at sea or other than that (and) that he knows that none can save him in this situation except Allaah, then he calls upon Him beseeching (Him) and turning in repentance; and he seeks rescue from Him for the removal of that which has befallen him and he implores (Him) in that.
Then when He bestows a blessing – (meaning) Allaah
a blessing upon him from Himself – in that He takes away the harm and distress that he had
he forgets that which he was supplicating about beforehand – meaning: he forgets that harm about which he had called upon Allaah; and he continues as if no harm had afflicted him and he persists upon his shirk.
(Tayseer ul Kareem ir Rahmaan of as Sa’dee rahimahullaah, translated by Nasser ibn Najam)