الآية رقم (165) - أَوَلَمَّا أَصَابَتْكُم مُّصِيبَةٌ قَدْ أَصَبْتُم مِّثْلَيْهَا قُلْتُمْ أَنَّى هَـذَا قُلْ هُوَ مِنْ عِندِ أَنْفُسِكُمْ إِنَّ اللّهَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ
(165) - {Why [is it that] when a [single] disaster struck you [on the day of Uhud], although you had struck [the enemy in the battle of Badr] with one twice as great, you said, "From where is this?" Say, "It is from yourselves." Indeed, Allah is over all things competent.}
قُلْ هُوَ مِنْ عِندِ أَنْفُسِكُمْ{Say, “It is from yourselves.}: Islam linked the means with the causes, the archers violated the war plan and did not follow the means, so they, themselves, caused the loss.
إِنَّ اللّهَ عَلَى كُلِّ شَيْءٍ قَدِيرٌ {Indeed, Allah is over all things competent.}:
He (swt) is able to help you after that, and He is able to give you a setback after which you will be victorious.