Why [is it that] when a [single] disaster struck you [on the day of Uḥud], 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 [i.e., due to your sin]." Indeed, Allāh is over all things competent.
O believers, when disaster struck you at Uḥud, and many of you were killed, and you had beforehand afflicted on your enemies a disaster twice as great in terms of those killed and captured on the day of Badr; why then did you ask where this calamity came from? You claimed that since you are believers and the Prophet of Allah is with you, it should not have occurred. Tell them, O Prophet, that what happened to them came from their own actions and disobedience. Allah is powerful over all things, giving victory to whomever He wills, and leaving whomever He wills