And certainly Allah made good to you His promise when you slew them by His permission , until when you became weak-hearted and disputed about the affair and disobeyed after He had shown you that which you loved ; of you were some who desired this world and of you were some who desired the hereafter ; then He turned you away from them that He might try you ; and He has certainly pardoned you , and Allah is Gracious to the believers .