وَلَقَدْ ءَاتَيْنَا لُقْمَـٰنَ ٱلْحِكْمَةَ أَنِ ٱشْكُرْ لِلَّهِ ۚ وَمَن يَشْكُرْ فَإِنَّمَا يَشْكُرُ لِنَفْسِهِۦ ۖ وَمَن كَفَرَ فَإِنَّ ٱللَّهَ غَنِىٌّ حَمِيدٌ ١٢
And We had certainly given Luqmān wisdom [and said], "Be grateful to Allāh." And whoever is grateful is grateful for [the benefit of] himself. And whoever denies [His favor] - then indeed, Allāh is Free of need and Praiseworthy.
Saheeh International · QuranEnc v1.1.2
Another translation: Al-Hilali & Muhsin Khan · QuranEnc v1.1.2
12. And indeed We bestowed upon Luqmân Al-Hikmah (wisdom and religious understanding) saying: "Give thanks to Allâh." And whoever gives thanks, he gives thanks for (the good of) his ownself. And whoever is unthankful, then verily, Allâh is All-Rich (Free of all needs), Worthy of all praise.