وَلَقَدْ ءَاتَيْنَا لُقْمَـٰنَ ٱلْحِكْمَةَ أَنِ ٱشْكُرْ لِلَّهِ ۚ وَمَن يَشْكُرْ فَإِنَّمَا يَشْكُرُ لِنَفْسِهِۦ ۖ وَمَن كَفَرَ فَإِنَّ ٱللَّهَ غَنِىٌّ حَمِيدٌ
Wa laqad aatainaa Luqmaanal hikmata anishkur lillaah; wa many yashkur fa innamaa yashkuru linafsihee wa man kafara fa innal laaha Ghaniyyun Hameed
We endowed Luqman with wisdom: ‘Be thankful to God: whoever gives thanks benefits his own soul, and as for those who are thankless––God is self-sufficient, worthy of all praise.’
And we gave Luqman wisdom: "Be grateful to God. Whoever is grateful is grateful only for his own sake, and whoever denies — God is self-sufficient, worthy of all praise."