God points out the paths, including the wrong ones. If He willed, He could have guided all of you.
وَعَلَى اللَّهِ قَصدُ السَّبيلِ وَمِنها جائِرٌ وَلَو شاءَ لَهَدىٰكُم أَجمَعينَ
wa ‘alal laahi qasdus sabeeli wa minhaa jaaa’ir; wa law shaaa’a lahadaakum ajma’een