The Family Of Imran - 3:146
How many prophets fought with them, many who were devoted to their Lord. They did not slacken in the way of Allah because of what befell them, nor did they give in. Allah loves those who persevere.
Example:
The Cow/2:246
"Did not this incident attract your attention? The elders of the Children of Israel said to one of their prophets after Moses, "Appoint us a king so that we may fight for the cause of Allah. He said, "What if war is necessary and you do not fight?"They replied, "Why should we not fight in the cause of Allah when we are driven away from our homes and our children?"But when war was obligatory upon them, they turned away except a few. Allah Knows the wrongdoers."
The Cow/2:247
"Their Prophet said to them, "Allah has appointed Talut as king over you."They said, "How can he rule over us when we are more worthy of rule than he? And he is not a rich man."He said, "Allah has chosen him over you. He has increased his knowledge and physical strength."Allah gives His property to whom He wills. Allah is Generous, All-Knowing."
The Cow/2:248
"Their Prophet said to them: "The proof of his sovereignty is that the Ark has come to you. In it you will find a peace from your Lord and a remnant left by the people of Moses and Aaron. It is carried by angels. There is a proof in this that will convince you if you believe."
The Cow/2:249
"When Talut took command of the army, he reported: "Allah will test you with a river. Whoever drinks from it is not from me. Whoever does not taste it but only takes a sip with his hand is from me."They all drank from it except a few. When he crossed the river with those who believed with him, they said, "Today we have no strength to resist Goliath and his army."And those who believed that they would meet Allah said: "How many a small company has defeated a large company by Allah´s permission. Allah is with the patient."
The Cow/2:250
"When they met Goliath and his army, they said: "Our Lord, give us strength to resist, keep our feet firm, and help us against the disbelievers."
The Cow/2:251
Finally they defeated them by Allah´s permission. David killed Goliath. Allah gave him sovereignty and understanding and taught him whatever He willed. The earth would have been corrupted if Allah had not repelled some of the people with some of the people. But Allah is gracious to all creatures.