[3:176] Let them not grieve you those that vie with one another in unbelief; they will not hurt God at all. God desires not to assign them any portion in the Hereafter, and theirs is a mighty chastisement.
He strengthened [Muḥammad's] heart by renewing the firmness of the pact, in that He would not allow any enemy to gloat over his misfortune, nor allow any evil from them to reach him.