And indeed Allah has proved true His promise to you , when you used to slay the disbelievers by His command ; until the time you people lost courage and disputed about the order and disobeyed after Allah had shown you what pleases you ; some of you desired the world , and some of you desired the Hereafter ; thereafter He turned you away from them in order to test you ; and undoubtedly He has forgiven you ; and Allah is Most Munificent towards the Muslims .