“Be not, then, faint of heart, and grieve not: for you are bound to rise high if you are [truly] believers.
If misfortune touches you, [know that] similar misfortune has touched [other] people as well; for it is by turns that We apportion unto men such days [of fortune and misfortune]: and [this] to the end that God might mark out those who have attained to faith, and choose from among you such as [with their lives] bear witness to the truth—since God does not love evildoers—and that God might render pure of all dross those who have attained to faith, and bring to nought those who deny the truth.
Do you think that you could enter paradise unless God takes cognizance of your having striven hard [in His cause], and takes cognizance of your having been patient in adversity? For, indeed, you did long for death in God’s cause before you came face to face with it; and now you have seen it with your own eyes!”
(Al-‘Imran: 139–143)