إِنَّ ٱلَّذِينَ تَوَلَّوْا۟ مِنكُمْ يَوْمَ ٱلْتَقَى ٱلْجَمْعَانِ إِنَّمَا ٱسْتَزَلَّهُمُ ٱلشَّيْطَـٰنُ بِبَعْضِ مَا كَسَبُوا۟ ۖ وَلَقَدْ عَفَا ٱللَّهُ عَنْهُمْ ۗ إِنَّ ٱللَّهَ غَفُورٌ حَلِيمٌ ﴿155﴾
155 Lo! those of you who turned back on the day when the two hosts met, Satan alone it was who caused them to backslide, because of some of that which they have earned. Now Allah hath forgiven them. Lo! Allah is Forgiving, Clement.
Ali ’Imran 3:155 on Quran.com · Pickthall’s translation
Uhud was fought one year after Badr, and it went very differently. Before a blow was struck, some three hundred hypocrites turned back to Madinah, leaving the rest of the army shaken and smaller. Then, in the middle of the fighting, archers who had been given a post to hold left it to collect the spoils. The army’s back was left open. The Makkans swept round, surrounded the Muslims, and gave them the only defeat in battle they suffered in the Madinan years.
The Quran does not hide what happened. Allah kept His promise to you when you were routing them by His permission, until you lost heart, argued about the command and disobeyed, after He had shown you what you wanted. Some of you wanted this world and some of you wanted the next. And then, in the same verse: He has forgiven you, and Allah is full of grace to the believers (Aal Imran 3:152).
A few verses later it comes again. Those of you who fled on the day the two armies met: it was Shaytan who made them slip, because of some of what they had done. And Allah has pardoned them; Allah is Forgiving and Forbearing (Aal Imran 3:155). These verses were not sent down to shame the companions. Their forgiveness had already been announced. They were revealed so that everyone who reads them afterwards can think about what happened and learn from it.
Uhud was also a test that brought hidden things into the open. When the hypocrites were told to come and fight, or at least defend the city, they said that if they had known there would be a fight they would have followed. That day they were nearer to disbelief than to faith; their tongues say what their hearts do not hold (Aal Imran 3:167). Once exposed, their schemes could not fool the believers so easily again. Even two groups of believers almost lost heart, and Allah was their protector, so in Allah let the believers put their trust (Aal Imran 3:122).
The companions learned these lessons well. Obeying Allah and His Messenger is what brings success, in this world as well as the next. Numbers alone do not win. And the work for Islam does not stop with any one person, not even the Prophet ﷺ (Aal Imran 3:144). Those who had been at Uhud did not repeat its mistakes for the rest of the Prophet’s ﷺ life.
For you, the message is gentle and practical. What happens on the Last Day matters far more than any win or loss here. You will have good days and bad ones. When you fall short, look honestly at what went wrong, try harder, and keep going. And notice that in these verses Allah’s forgiveness comes in the same breath as the mistake. If you have slipped, turn back to Him; the guide on istighfar shows you how.