You worship not besides Him except [mere] names you have named them,1 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 (English)
1 The false objects of worship which you have called "gods."
سَمَّيۡتُمُوهَآwhich you have named themsammaytumūhā
أَنتُمۡyouantum
وَءَابَآؤُكُمand your forefatherswaābāukum
مَّآnotmā
أَنزَلَ(has) sent downanzala
ٱللَّهُAllahl-lahu
بِهَاfor itbihā
مِنanymin
سُلۡطَٰنٍۚauthoritysul'ṭānin
إِنِNotini
ٱلۡحُكۡمُ(is) the commandl-ḥuk'mu
إِلَّاbutillā
لِلَّهِfor Allahlillahi
أَمَرَHe has commandedamara
أَلَّاthat notallā
تَعۡبُدُوٓاْyou worshiptaʿbudū
إِلَّآbutillā
إِيَّاهُۚHim Aloneiyyāhu
ذَٰلِكَThatdhālika
ٱلدِّينُ(is) the religionl-dīnu
ٱلۡقَيِّمُthe rightl-qayimu
وَلَٰكِنَّbutwalākinna
أَكۡثَرَmostakthara
ٱلنَّاسِ[the] menl-nāsi
لَا(do) notlā
يَعۡلَمُونَknowyaʿlamūna
Tafsir
Joseph told them that they only worshipped names besides Allah, which have not been designated by Allah, but were what they and their ancestors had called gods – yet they had no share in divinity. Allah had sent no proof showing that giving these names was correct. The command in all creation is Allah’s alone, and does not belong to these names, which they and their ancestors had come up with. Allah, glory be to Him, has instructed that you worship Him alone, and has forbidden that you should associate others with Him. Worshipping Allah alone is the straight path, which has no deviation in it. Most people do not know this, and therefore they associate other things with Allah, worshipping some of what Allah has created.