"And indeed Allah fulfilled His promise to you (in the first stage) when...
"And indeed Allah fulfilled His promise to you (in the first stage) when, with His leave, you slew them until when you became weak-hearted and disputed about the matter ..." That is, if you considered that the promise of victory had been without any condition, you made a great mistake. All the promises of victory are conditioned to the obedience from the command of Allah. Then, the Qur'an says: "...
and you disobeyed after that He showed you that which you loved..." Then, it continues saying: "... Some of you desire the world and some of you desire the Hereafter..." Here, the circumstances have changed and Allah has altered your victory to failure in order to try you and punish you and train you. "... then He turned you away from them (the disbelievers) so that He might try you..." Then the Lord forgave you all these disobediences and sins of yours, while you deserved to be punished.
This is because Allah does not withhold any bounty to the believers. "... And He has certainly forgiven you; and Allah is gracious to the believers." Surah 'Ali-Imran, Verse 153 إِذْ تُصْعِدُونَ وَلاَ تَلْوُونَ عَلَى أحَدٍ وَالرَّسُولُ يَدْعُوكُمْ فِي أُخْرَاكُمْ فَأَثَابَكُمْ غُمَّاً بِغَمٍّ لِّكَيْلاَ تَحْزَنُواْ عَلَى مَا فَاتَكُمْ وَلاَ مَا أَصَابَكُمْ وَاللّهُ خَبِيرٌ بِمَا تَعْمَلُونَ 153.
📌" (Remember) when you were climbing (the hillside) and paid no heed to anyone, while the Messenger was calling you from your rear, so He inflicted you with grief on grief that you might not be sorry for what escaped you and neither for what befell you; and Allah iv well aware of what you do." In this verse the Qur'an reminds Muslims the ending scene of the Battle of 'Uhud and tells them to remember when they were scattered and they were running away without paying any attention to their fellow strivers at their backs to see in what condition they were, though the Prophet (S) was calling them from their behind.
📌"(Remember) when you were climbing (the hillside) and paid no heed to any one, while the Messenger was calling you from your rear ..." The Prophet (S) was calling them, saying: "O' servants of Allah! return to me! return to me! I am the Messenger of Allah." It tells them that at that time neither of them attended to his words: "...