There has certainly been for you in the Messenger of Allah an excellent pattern for anyone whose hope is in Allah and the Last Day and [who] remembers Allah often. 21 When the faithful saw (the armies of) the allied tribes, they said: "This is what God and His Apostle had promised us; and God and His Apostle say the truth;" and this enhanced their faith and obedience. 22 Of the believers are men who have fulfilled that which they covenanted with Allah. Some of them have performed their vow, and some of them are waiting, and they have not changed in the least. 23 [Such trials are imposed upon man] so that God may reward the truthful for having been true to their word, and cause the hypocrites to suffer - if that be His will - or [if they repent,] accept their repentance: for, verily, God is indeed much-forgiving, a dispenser of grace! 24 God turned back those who denied the truth in their rage, without their having gained any advantage. God was enough to [protect] the believers in battle. God is strong and all-powerful. 25 And He brought those of the people of the Book who backed them down from their fortresses and cast into their hearts terror; a part of them ye slew, and ye made captives a part. 26 And He made you inherit their lands and mansions and wealth, and a country you had not traversed before, for God has power over everything. 27