Allah is powerful when He punishes and no one can push away His Punishment or alleviate it.
﴿ذَلِكَ بِأَنَّ اللّهَ لَمْ يَكُ مُغَيِّراً نِّعْمَةً أَنْعَمَهَا عَلَى قَوْمٍ حَتَّى يُغَيِّرُوا مَا بِأَنفُسِهِمْ وَأَنَّ اللّهَ سَمِيعٌ عَلِيمٌ﴾ [الأنفال: 53]
53 - That is because Allah does not remove His Favor from a people until they do evil things, commit sins or leave out gratitude, oppress people, kill one another, and disbelieve in Allah. Verily, Allah is All-Hearing to their sayings and All-Knowing of what they do, so He leaves favors for them or takes them away because of their actions.
﴿كَدَأْبِ آلِ فِرْعَوْنَ وَالَّذِينَ مِن قَبْلِهِمْ كَذَّبُوا بآيَاتِ رَبِّهِمْ فَأَهْلَكْنَاهُم بِذُنُوبِهِمْ وَأَغْرَقْنَا آلَ فِرْعَونَ وَكُلٌّ كَانُوا ظَالِمِينَ﴾ [الأنفال: 54]
54 - Such as the action of the Pharaoh's people and those who were before them from the nations which belied our miracles which Allah granted to His Prophets. Moreover, they denied the signs which Allah sent down to guide His Servants, so their retribution was punishment for their sins and We destroyed them. The bad consequence of the people of the Pharaoh along with their leader was drowning in the sea. The previous peoples wronged themselves when they subjected themselves to punishment and torture because of their disbelief and sins, and they did not appreciate the favor of Allah which He granted them of gardens, plants, money, children, and animals.
﴿إِنَّ شَرَّ الدَّوَابِّ عِندَ اللّهِ الَّذِينَ كَفَرُوا فَهُمْ لاَ يُؤْمِنُونَ﴾ [الأنفال: 55]
55 - The worst creature that walks on earth is those who insisted on disbelief and fell in it, so they do not believe no matter you call them to Islam.
﴿الَّذِينَ عَاهَدتَّ مِنْهُمْ ثُمَّ يَنقُضُونَ عَهْدَهُمْ فِي كُلِّ مَرَّةٍ وَهُمْ لاَ يَتَّقُونَ﴾ [الأنفال: 56]
56 - Those from whom you take their covenant not to help polytheists, but they broke their promise, as a part of their habit, and continued their treason and cheat because they do not fear Allah in all they committed.
It was mentioned that those people were the Jews of Banu Qurayzhah who broke their promise which they signed with the Prophet (peace be upon him) and helped the polytheists more than once.
﴿فَإِمَّا تَثْقَفَنَّهُمْ فِي الْحَرْبِ فَشَرِّدْ بِهِم مَّنْ خَلْفَهُمْ لَعَلَّهُمْ يَذَّكَّرُونَ﴾ [الأنفال: 57]
57 - When you defeat them in war, double their punishment and kill them so as to be an admonition for others and so as your enemy fear you and take a lesson.
﴿وَإِمَّا تَخَافَنَّ مِن قَوْمٍ خِيَانَةً فَانبِذْ إِلَيْهِمْ عَلَى سَوَاء إِنَّ اللّهَ لاَ يُحِبُّ الخَائِنِينَ﴾ [الأنفال: 58]
58 - O Prophet, when you have signs and proofs that the people who signed an agreement with you shall break their promise, inform them and expose their treason so as to know that you broke the covenant between you and them. However, do not start them with war before informing you of that, and Allah does not love those who break their promises and covenants.
﴿وَلاَ يَحْسَبَنَّ الَّذِينَ كَفَرُوا سَبَقُوا إِنَّهُمْ لاَ يُعْجِزُونَ﴾ [الأنفال: 59]