And upon Allāh1 is the direction of the [right] way, and among them [i.e., the various paths] are those deviating. And if He willed, He could have guided you all.
Translation: Saheeh International (English)
1 Allāh (subḥānahu wa taʿālā) has taken it upon Himself to guide man to the right path. The meaning has also been interpreted as "To Allāh..."
لَهَدَىٰكُمۡsurely He would have guided youlahadākum
أَجۡمَعِينَallajmaʿīna
Tafsir
Allah has made it a duty upon Himself to show the Path that leads to His Pleasure, which is Islam. Some paths are that of Satan that deviate away from the truth. Any path other than the path of Islam is deviated. Had Allah willed to guide you all to Faith He would have guided you alltogether.