Surah Al-Fajr, ayah 15

89:15

فَأَمَّا ٱلۡإِنسَٰنُ إِذَا مَا ٱبۡتَلَىٰهُ رَبُّهُۥ فَأَكۡرَمَهُۥ وَنَعَّمَهُۥ فَيَقُولُ رَبِّيٓ أَكۡرَمَنِ ١٥

Fa ammal-insānu idhā mabtalāhu rabbuhū fa akramahū wana''amahū fayaqūlu rabbī akraman

And as for man, when his Lord tries him and [thus] is generous to him and favors him, he says, "My Lord has honored me."1918

Footnotes

1918 He is proud rather than grateful, attributing the favor to his own merit.