O brethren: We all must depend on Allah and observe conditions for victory, some of which are:
First: Sincerity of intention to Allah, so that we intend by our jihad raising of the Word of Allah, establishing of the Sharee`ah, and the rule of the of Book of Allah and the Sunnah of His Messenger, sallallahu `alayhi wa sallam [transl: i.e and that we do not fight for nationalistic causes and such].
Second: That we practice patience and piety (taqwa), for Allah is with the patient, and He is with the god-fearing. We must be patient in jihad and have taqwa of Allah by observing His orders and leaving His prohibitions, for variance with the orders of Allah and His Messenger is a cause of defeat. The Companions who disobeyed orders of Allah's Messenger, sallallahu `alayhi wa sallam, in the battle of Uhud, were defeated because of that, after they were victorious at first. But after that, Allah's forgiveness reached them so He forgave them.
Third: That we know our strength - and that there is no power or movement except with Allah - so that we are not amazed by our strength and numbers, for conceitedness and being proud of oneself is a cause of defeat. The companions were amazed with their numbers in the battle of Hunayn, but they didn't benefit them in any way. They were then turned back, fleeing, but Allah sent His tranquility upon His Messenger, sallallahu `alayhi wa sallam, and upon the believers, and sent an army from His angels so the final victory was for the believers.
Fourth: That we prepare material strength for use against enemies- what is appropriate of arms and strength in that particular time and situation - so that we may respond to the weaponry of the enemy with its like.
Just like there are causes of victory, there are also causes of defeat. From them are:
First: Being extravagant, negligent with regards to Allah's rights, doing what Allah forbade and leaving what He ordered, so that defeat be a measure of discipline and an expiation for one's evil deeds.
Second: Taking pride in one's self, power, greatness in numbers, or material strength.
Allah clarified in His book these three causes of defeat so that people be warned about them. In the battle of Uhud, disobedience, dissension and disagreement occurred among some Muslims, and it led to their defeat. Allah ta`ala said,
A great wisdom is mentioned in this. In Hunayn, Muslims were amazed by their numbers. They were twelve thousand, and some said, "Today we cannot be defeated because of a small number", so Allah ta`ala said informing about that day:
The wisdom in this is that servants should know that victory is from Allah ta`ala and that it is not achieved only by having the means for victory and by vanquishing the enemy, especially when the servant is being proud and is forgetting that all matters happen only by the permission of Allah, and that the servant, when he relies on his strength, is entrusted to his weakness and feebleness. Therefore, since these three matters - negligence with regards to the rights of Allah, conceitedness and dissension and differing - are from the causes of defeat, it is obligatory for armies of the sincere to ponder these causes and how they brought about their defeat, and then end that disease, so that the final outcome be good.
O brethren: Allah ta`ala said,
Allah ta`ala ordered that we prepare against our enemies what we are able of power, and the word strength here is an indefinite noun, as is apparent, and the Prophet sallallahu `alayhi wa sallam explained the intended meaning by saying:
He also said, sallallahu `alayhi wa sallam,
So Allah ta`ala ordered that we prepare what we are able of power, and the Prophet, sallallahu `alayhi wa sallam, explained the strength to mean throwing (i.e shooting). Then Allah ta`ala said:
The enemy of Allah and our enemy are those who disbelieve and make their disbelief public, and others whom we do not know but whom Allah knows. It is said: What is meant here are those who are far from the believers on that day; that is far, with regards to their place. And it is said, hypocrites are intended with these words. Allah ta`ala said:
Because, when hypocrites see the glory of Islam, they will be terrified and fearful. For this reason, hypocrisy in this Ummah did not happen until after the battle of Badr, when Allah gave glory to Muslims, and humiliated the polytheists. And what is intended by "others besides them" are either people whom fighting of the believers hasn't reached yet and the believers do not know about them (i.e. they had wanted to fight and oppose the believers, but didn't because they became fearful after the believers defeated the polytheists), or hypocrites.