وَعَلَى اللّٰهِ قَصْدُ السَّبِيْلِ وَمِنْهَا جَاۤىِٕرٌ ۗوَلَوْ شَاۤءَ لَهَدٰىكُمْ اَجْمَعِيْنَ ࣖ ( النحل: ٩ )
Wa 'alal laahi qasdus sabeeli wa minhaa jaaa'ir; wa law shaaa'a lahadaakum ajma'een (an-Naḥl 16:9)
And upon Allah 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. (An-Nahl  : 9)
1 Mufti Taqi Usmani
Undertaken by Allah is (to show) the right path, while there are some (paths) that are crooked. Had He so willed, He would have led all of you to the right path.