This is the guidance of Allah. He giveth that guidance to whom He pleaseth, of His worshippers. If they were to join other gods with Him, all that they did would be vain for them.
ذَالِکَ هُدَ لَّاهِ یَهْدِی بِهِی مَ یَشَاءُ مِنْ عِبَادِهِی وَلَوْ اَشْرَکُو لَحَبِطَ عَنْهُمْ مَا کَانُو یَعْمَلُونْ
(Such) the straight path (is the guidance of Allah) the religion of Allah (wherewith He guideth whom He will) whoever is fit for it (of His bondmen. But if they had set up (for worship) aught beside Him) had these prophets associated anyone or anything with Allah, ((all) that they did) of works (would have been vain).