Allah made His servants two groups: a group He granted them success for the guidance to the straight path, and a group the misguidance from the straight path was necessitated upon them, indeed they took the devils protectors instead of Allah, so they obeyed them out of ignorance from them and a thought that they had surely followed the path of guidance.