Tell those who are bent on denying the truth that if they desist, all that is past shall be forgiven them; but if they revert [to their wrongdoing,] let them remember what happened to the like of them in times gone by. 38 And fight them until no mischief remains and the entire religion is only for Allah; then if they desist, Allah sees all what they do. 39 but if they turn away, know that God is your Protector; the Best of Protectors and the Best of Helpers! 40 ۞ And know that anything you obtain of war booty - then indeed, for Allah is one fifth of it and for the Messenger and for [his] near relatives and the orphans, the needy, and the [stranded] traveler, if you have believed in Allah and in that which We sent down to Our Servant on the day of criterion - the day when the two armies met. And Allah, over all things, is competent. 41 And recall when you were encamped at the nearer end of the valley (of Badr) and they were at the farther end and the caravan below you (along the seaside). Had you made a mutual appointment to meet in encounter, you would have declined. But encounter was brought about so that Allah might accomplish what He had decreed, and that he who was to perish should perish through a clear proof, and who was to survive might survive through a clear proof. Surely Allah is All-Hearing, All-Knowing. 42 In your dream, God showed (the pagans' army) as being only a few in number, for if He had showed them as a great number, you would have lost courage and would have started to quarrel among yourselves concerning this matter. But God saved you from that condition; He knows what is in your hearts. 43 And recall when He made them appear as few in your eyes when you met them in the battle just as He lessened you in their eyes so that Allah might accomplish what had been decreed. To Allah are all matters referred for decision. 44