30فَريقًا هَدىٰ وَفَريقًا حَقَّ عَلَيهِمُ الضَّلالَةُ ۗ إِنَّهُمُ اتَّخَذُوا الشَّياطينَ أَولِياءَ مِن دونِ اللَّهِ وَيَحسَبونَ أَنَّهُم مُهتَدونَ(Irfan-ul-Quran)He guided one group but error was proved on the other (consequent on their own doings). Indeed they made friends with satans leaving Allah aside and think that they are the rightly guided.