Surah At-Tawbah 9:115
وَمَا كَانَ ٱللَّهُ لِيُضِلَّ قَوْمًۢا بَعْدَ إِذْ هَدَىٰهُمْ حَتَّىٰ يُبَيِّنَ لَهُم مَّا يَتَّقُونَ ۚ إِنَّ ٱللَّهَ بِكُلِّ شَىْءٍ عَلِيمٌ
And Allāh would not let a people stray after He has guided them until He makes clear to them what they should avoid. Indeed, Allāh is Knowing of all things.
Translation: Saheeh International
Tafsir
And God would never send a people astray after He had guided them to Islam until He had made clear to them that which they should be wary of in the way of deeds but when they are not wary of it then they deserve to be sent astray. …
Excerpt from Tafsir al-Jalalayn, commentary on 9:115, via Quran.com. The reader has the full commentary and 9 more tafsirs.