In battle against the enemy...
In battle against the enemy, too, the Prophet (S) received God’s aid so that he could ably shoulder the task of the guidance of humanity, and to deliver mankind from the grip of polytheism and spiritual pollution, and to convey his universal message to every corner of the world so that he could present new concepts in the shape of a comprehensive program of life.
Thus, the principle of conflict and war in Islam is quite different from that in other schools of thought, because it pursues deeper and humanitarian objectives. In Islam, resorting to armed conflict is only legitimate in order to liberate mankind in the true sense and to free minds from the captivity of doubt and every shackle that binds humanity.
In the battle of Ahzab which is partly described in the foregoing verses, the situation was such that several groups, comprising of polytheist and Jewish tribes, whose authority was threatened by the message of Islam, had been trying to divert the Prophet (S) from his mission. When all their efforts failed, they resorted to band together to wage war against the Muslims.
Their alliance was made at in an environment where tribal allegiances were very strong while Islam was teaching a message that transcended such considerations. The confederation far outmatched the Muslim army in strength and equipment, and their organized formations presented a strong wall against the forces of Islam. It is recorded that they outnumbered the Muslims three to one, which naturally was an uneven match.
In this battle, which took place around Madina, the Muslim soldiers were in a very difficult situation due to their lack of numbers and means. Matters were proceeding in a manner that it seemed that the bigger and better equipped army was inevitably going to defeat the weaker force. The polytheists were confident that they would easily overrun the Muslim defences, deal them a crippling defeat and destroy the nascent establishment of Islam.
Meanwhile, the hypocrites and fifth-columnists began to direct all their efforts to weaken the morale of the Muslims. They used every means to plot and inflame the situation in an attempt to stop the spread of the pervading influence of Islam, which was threatening their age-old arrogant ways and customs. It was in these difficult times that the help of God came to the rescue of the Muslims. In the manner described in the verses, God sent two forces to the aid of the believers.