Sure Al-Anfaal

8:25

وَٱتَّقُوا۟ فِتْنَةًۭ لَّا تُصِيبَنَّ ٱلَّذِينَ ظَلَمُوا۟ مِنكُمْ خَآصَّةًۭ ۖ وَٱعْلَمُوٓا۟ أَنَّ ٱللَّهَ شَدِيدُ ٱلْعِقَابِ

Und hütet euch vor einer Versuchung, die nicht nur besonders diejenigen von euch treffen wird, die Unrecht taten. Und wisset, daß Allah streng im Bestrafen ist!

Tafsir 8:25

Beware of suffering that does not only reach those who do wrong among you, but reaches you and others as well. This is when disobedience becomes widespread and is not prevented. Be sure that Allah is strong with the punishment for those who go against Him, so beware of opposing Him.