Surah Al-Anfaal

8:57

فَإِمَّا تَثْقَفَنَّهُمْ فِى ٱلْحَرْبِ فَشَرِّدْ بِهِم مَّنْ خَلْفَهُمْ لَعَلَّهُمْ يَذَّكَّرُونَ

So if you, [O Muhammad], gain dominance over them in war, disperse by [means of] them those behind them that perhaps they will be reminded.

Tafsir 8:57

If you, O Messenger, face in battle these people who break their pledges, then make a harsh example of them so that others hear about it, take a lesson from that and become afraid of fighting you and supporting your enemies against you.