۞ Certainly Allah was well pleased with the believers when they swore allegiance to you under the tree, and He knew what was in their hearts, so He sent down tranquillity on them and rewarded them with a near victory, 18 And plenty of war booty, to take; and Allah is Most Honourable, Wise. 19 Allah has promised you many gains that ye shall acquire, and He has given you these beforehand; and He has restrained the hands of men from you; that it may be a Sign for the Believers, and that He may guide you to a Straight Path; 20 And other gains (there are), which are not within your power, but which Allah has compassed: and Allah has power over all things. 21 Had the unbelievers fought against you at that time, they would have turned their backs (in flight), and would have found none to protect or help them. 22 The tradition of Allah, ongoing since before; and you will not find the tradition of Allah changing. 23 It is He who withheld their hands from you, and your hands from them in the valley of Makkah, after giving you victory over them. God sees what you do. 24 [It was not for your enemies sake that He stayed your hands from them: for] it was they who were bent on denying the truth, and who debarred you from the Inviolable House of Worship and prevented your offering from reaching its destination. And had it not been for the believing men and believing women [in Mecca,] whom you might have unwittingly trampled underfoot, and on whose account you might have become guilty, without knowing it, of a grievous wrong: [had it not been for this, you would have been allowed to fight your way into the city: but you were forbidden to fight] so that [in time] God might admit to His grace whomever He wills. Had they [who deserve Our mercy and they whom We have condemned] been clearly discernible [to you,] We would indeed have imposed grievous suffering [at your hands] on such of them as were bent on denying the truth. 25 (This is why) when the unbelievers set in their hearts a fierce bigotry -- the bigotry of ignorance -- Allah bestowed inner peace upon His Messenger and upon the believers and made the word of piety binding on them. They were more deserving and worthier thereof. Allah has knowledge of everything. 26