Sure An-Nahl

16:9

وَعَلَى ٱللَّهِ قَصْدُ ٱلسَّبِيلِ وَمِنْهَا جَآئِرٌۭ ۚ وَلَوْ شَآءَ لَهَدَىٰكُمْ أَجْمَعِينَ

Allah obliegt es, (euch) auf dem richtigen Weg zu halten. Es gibt ja (auch) manche, die abweichen. Wenn Er gewollt hätte, hätte Er euch fürwahr allesamt rechtgeleitet.

Tafsir 16:9

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.