Tafsir Ibn Kathir -> Surah Luqman -> The Idolators admitted that Allah is the Creator

Allah tells us that these idolators who associated others with Him admitted that Allah Alone, with no partner or associate, is the Creator of heaven and earth yet they still worshipped others besides Him who they recognized were created by Him and subjugated to Him. Allah says:

﴿وَلَئِن سَأَلْتَهُمْ مَّنْ خَلَقَ السَّمَـوَتِ وَالاٌّرْضَ لَيَقُولُنَّ اللَّهُ قُلِ الْحَمْدُ لِلَّهِ﴾

(And if you ask them: "Who has created the heavens and the earth,'' they will certainly say: "Allah.'' Say: "All the praises and thanks be to Allah!'') By their admitting that, proof is established against them,

﴿بَلْ أَكْثَرُهُمْ لاَ يَعْلَمُونَ﴾

(But most of them know not.) Then Allah says:

﴿للَّهِ مَا فِى السَّمَـوَتِ وَالاٌّرْضِ﴾

(To Allah belongs whatsoever is in the heavens and the earth.) meaning, He created it and has dominion over it.

﴿إِنَّ اللَّهَ هُوَ الْغَنِىُّ الْحَمِيدُ﴾

(Verily, Allah, He is Al-Ghani, Worthy of all praise.) means, He has no need of anyone or anything besides Himself, and everything else is in need of Him. He is Worthy of praise for all that He has created, so praise be to Him in the heavens and on earth for all that He has created and decreed, and He is worthy of praise in all affairs.

﴿وَلَوْ أَنَّمَا فِى الاٌّرْضِ مِن شَجَرَةٍ أَقْلاَمٌ وَالْبَحْرُ يَمُدُّهُ مِن بَعْدِهِ سَبْعَةُ أَبْحُرٍ مَّا نَفِدَتْ كَلِمَـتُ اللَّهِ إِنَّ اللَّهَ عَزِيزٌ حَكِيمٌ - مَّا خَلْقُكُمْ وَلاَ بَعْثُكُمْ إِلاَّ كَنَفْسٍ وَحِدَةٍ إِنَّ اللَّهَ سَمِيعٌ بَصِيرٌ ﴾

(27. And if all the trees on the earth were pens and the sea, with seven seas behind it to add to it, yet the Words of Allah would not be exhausted. Verily, Allah is All-Mighty, All-Wise.) (28. The creation of you all and the resurrection of you all are only as a single person. Verily, Allah is All-Hearer, All-Seer.)