Walaqad atayna luqmanaalhikmata ani oshkur lillahi waman yashkur fa-innamayashkuru linafsihi waman kafara fa-inna Allaha ghaniyyun hameed
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.
We gave Luqman wisdom, saying: Be grateful to Allah. Whoever is grateful is grateful for himself.