Surah Al-Anfal — Ayah 33 (8:33)
وَمَا كَانَ ٱللَّهُ لِيُعَذِّبَهُمۡ وَأَنتَ فِيهِمۡۚ وَمَا كَانَ ٱللَّهُ مُعَذِّبَهُمۡ وَهُمۡ يَسۡتَغۡفِرُونَ ٣٣
English translation (Saheeh International)
But Allāh would not punish them while you, [O Muḥammad], are among them, and Allāh would not punish them while they seek forgiveness.
Brief commentary
But Allah would not punish your nation O Muhammad, with a punishment that destroyed them while you are living among them, for you living among them keeps them safe from this punishment. And Allah would not punish them as long as they asked Him for forgiveness for their sins.