152nd Ayah from Surah Al 'Imran
Sahih International
And Allah had certainly fulfilled His promise to you when you were killing the enemy by His permission until [the time] when you lost courage and fell to disputing about the order [given by the Prophet] and disobeyed after He had shown you that which you love. Among you are some who desire this world, and among you are some who desire the Hereafter. Then he turned you back from them [defeated] that He might test you. And He has already forgiven you, and Allah is the possessor of bounty for the believers.
Abdul Haleem
God fulfilled His promise to you: you were routing them, with His permission, but then you faltered, disputed the order, and disobeyed, once He had brought you within sight of your goal- some of you desire the gains of this world and others desire the world to come- and then He prevented you from [defeating] them as a punishment. He has now forgiven you: God is most gracious to the believers.
Mohsin Khan/Hilali
And Allah did indeed fulfil His Promise to you when you were killing them (your enemy) with His Permission; until (the moment) you lost your courage and fell to disputing about the order, and disobeyed after He showed you (of the booty) which you love. Among you are some that desire this world and some that desire the Hereafter. Then He made you flee from them (your enemy), that He might test you. But surely, He forgave you, and Allah is Most Gracious to the believers.
Taqi Usmani
Allah has surely fulfilled His promise to you when you, with His will, were killing them off, until you showed weakness and disputed in the matter and disobeyed after He had shown you what you liked.Among you there were some who were seeking the mundane, and among you there were others who were seeking the Hereafter. After that, He reversed your position against them, so that He may test you. Of course, He has forgiven you. Allah is All-Gracious to the believers.