This commentary covers verses 3:126 to 3:129.
Allah said "Allah made it not but as a message of good news for you and as an assurance to your hearts". This Ayah means, "Allah sent down angels and told you about their descent to encourage you and to comfort and reassure your hearts. You should know that victory only comes from Allah and that if He willed, He would have defeated your enemy without you having to fight them." For instance, Allah said after commanding the believers to fight,
ذلِكَ وَلَوْ يَشَآء اللَّهُ لاَنْتَصَرَ مِنْهُمْ وَلَـكِن لّيَبْلُوَ بَعْضَكُمْ بِبَعْضٍ وَالَّذِينَ قُتِلُواْ فِى سَبِيلِ اللَّهِ فَلَن يُضِلَّ أَعْمَـلَهُمْ سَيَهْدِيهِمْ وَيُصْلِحُ بَالَهُمْ وَيُدْخِلُهُمُ الْجَنَّةَ عَرَّفَهَا لَهُمْ
(But if it had been Allah's will, He Himself could certainly have punished them (without you). But (He lets you fight) in order to test some of you with others. But those who are killed in the way of Allah, He will never let their deeds be lost. He will guide them and set right their state. And admit them to Paradise which He has made known to them) 47:4-6.
This is why Allah said here,
وَمَا جَعَلَهُ اللَّهُ إِلاَّ بُشْرَى لَكُمْ وَلِتَطْمَئِنَّ قُلُوبُكُمْ بِهِ وَمَا النَّصْرُ إِلاَّ مِنْ عِندِ اللَّهِ الْعَزِيزِ الْحَكِيمِ
(Allah made it not but as a message of good news for you and as an assurance to your hearts. And there is no victory except from Allah, the All-Mighty, the All-Wise) 3:126.
This Ayah means, "Allah is the Almighty Whose power can never be undermined, and He has the perfect wisdom in His decrees and in all His decisions." Allah said,
لِيَقْطَعَ طَرَفاً مِّنَ الَّذِينَ كَفَرُواْ
(That He might cut off a part of those who disbelieve,) 3:127 meaning, out of His wisdom, He commands you to perform Jihad and to fight.
Allah then mentions the various consequences of performing Jihad against the disbelievers. For instance, Allah said,
لِيَقْطَعَ طَرَفاً
(That He might cut off a part...) meaning, to cause a part of a nation to perish,
مِّنَ الَّذِينَ كَفَرُواْ أَوْ يَكْبِتَهُمْ
(of those who disbelieve, or expose them to infamy,) by disgracing them and forcing them to return with only their rage, having failed in their aim to harm you. This is why Allah said next,
أَوْ يَكْبِتَهُمْ فَيَنقَلِبُواْ
(or expose them to infamy, so that they retire) to go back to their land,
خَآئِبِينَ
(frustrated) without achieving their aims.
Allah then mentions a statement that testifies that the decision in this life and the Hereafter is for Him Alone without partners. (3:127)
لَيْسَ لَكَ مِنَ الاٌّمْرِ شَىْءٌ
(Not for you is the decision) 3:128
meaning, "The matter is all in My Hand." Allah also said,
فَإِنَّمَا عَلَيْكَ الْبَلَـغُ وَعَلَيْنَا الْحِسَابُ
(your duty is only to convey (the Message) and on Us is the reckoning.) 13:40, and,
لَّيْسَ عَلَيْكَ هُدَاهُمْ وَلَـكِنَّ اللَّهَ يَهْدِى مَن يَشَآءُ
(Not upon you is their…