At Tawbah Ayah 115
وَمَا كَانَ ٱللَّهُ لِيُضِلَّ قَوْمَۢا بَعْدَ إِذْ هَدَٮٰهُمْ حَتَّىٰ يُبَيِّنَ لَهُم مَّا يَتَّقُونَۚ إِنَّ ٱللَّهَ بِكُلِّ شَىْءٍ عَلِيمٌ ١١٥
Allah would never consider a people deviant after He has guided them, until He makes clear to them what they must avoid. Surely Allah has ?full? knowledge of everything.