Such is God’s guidance, with which He guides whichever of His servants He will. If they had associated other gods with Him, all their deeds would have come to nothing.
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.