Surah Yusuf 12:40
مَا تَعْبُدُونَ مِن دُونِهِۦٓ إِلَّآ أَسْمَآءً سَمَّيْتُمُوهَآ أَنتُمْ وَءَابَآؤُكُم مَّآ أَنزَلَ ٱللَّهُ بِهَا مِن سُلْطَـٰنٍ ۚ إِنِ ٱلْحُكْمُ إِلَّا لِلَّهِ ۚ أَمَرَ أَلَّا تَعْبُدُوٓا۟ إِلَّآ إِيَّاهُ ۚ ذَٰلِكَ ٱلدِّينُ ٱلْقَيِّمُ وَلَـٰكِنَّ أَكْثَرَ ٱلنَّاسِ لَا يَعْلَمُونَ
You worship not besides Him except [mere] names you have named them, you and your fathers, for which Allāh has sent down no evidence. Legislation is not but for Allāh. He has commanded that you worship not except Him. That is the correct religion, but most of the people do not know.
Translation: Saheeh International
Tafsir
You do not worship apart from Him that is other than Him anything but mere names that you have named that you have named for idols you and your fathers. God has not revealed any warrant any definitive argument or proof regarding them regarding worship of them. Judgement decree belongs only to God alone. …
Excerpt from Tafsir al-Jalalayn, commentary on 12:40, via Quran.com. The reader has the full commentary and 9 more tafsirs.