every event that happens to the muslim has a sort or another of goodness in it. allah states that even events that seem to be unfavorable may have a lot of good in them:
[it may well be that you dislike something in which allah has placed a lot of good.] (an-nisaa' 4:19)
[it may be that you hate something when it is good for you and it may be that you love something when it is bad for you. allah knows and you do not know. ] (al-baqarah 2:216)
aware of this secret, believers seek goodness and beauty in every event. no seemingly adverse incident, hardship, or mischief ails or worries them. they maintain their composure, whether the experience is insignificant or a serious ordeal. sincere muslims even see goodness and divine purpose in the loss of all their hard earned possessions. they express gratitude to allah for the gift of life. they have faith that allah may have protected them from committing an evil act or against too much attachment for possessions.
accordingly, believers give their most inner thanks to him because no loss in this world equals the loss in the hereafter. loss in the hereafter means eternal and intolerable punishment (unless allah wills otherwise). those who keep themselves occupied with the remembrance of the hereafter view every event as goodness and beauty leading to the hereafter.
those who overcome such ordeals will recognize their weaknesses before allah and will reconsider how much they are in need of him. they will turn to allah with much humility through prayers and remembrance that will bring them closer to him. this is surely an enormous benefit to one's hereafter. these aside, by putting absolute trust in allah and showing steadfastness, they will earn his pleasure and will be rewarded with eternal bliss.
people should seek goodness and beauty not only in ordeals, but also in daily routines. for example, burning the food one has painstakingly prepared may lead one to take numerous measures that would, by the will of allah, prevent a more serious accident in the future. a young person might fail the college admission test on which all hopes for the future had been pinned.
people should, however, know that there is goodness in their failure, too; they should be able to think that allah might have willed them to avoid some adverse circumstances or people and thereby feel pleased with the result. alternatively, by thinking that allah has placed in every event many other blessings that are either obvious or beyond the imagination, believers see the beauty of full submission to the guidance of allah.
people may not always see the goodness and divine purpose behind every incident. even if this is the case, they know for certain that there is goodness in all events. they offer prayers for allah to discover the goodness and divine purpose hidden behind everything that happens.
those who are aware that everything has a purpose in allah's creation never use phrases such as "i wish i had not done this" or "i wish i had not said that" and so on. mistakes, defects, or seemingly unfortunate events essentially include blessings, and each one of them is the trial of destiny. allah gives important lessons and reminders to humans in the destiny he creates individually for each person.
for those who can evaluate with insight, there are no mistakes or adversities, but rather lessons, warnings, and wisdom from allah. for example, a muslim whose shop burns down will search his or her soul, and will become even more sincere and true in his or her faith, deeming it as a warning by allah against overindulgence in worldly goods and attachments.
consequently, no matter what one encounters in this life, the ordeals will all eventually end. a person who recalls a hardship will be amazed that it is nothing more than a reminiscence in the mind. this is also how people recall the scenes from a film. accordingly, one day will come and the most painful experience will become only a memory, more like the image of a scene from a movie. only one thing will remain — the attitude a person assumed during the time of hardship and whether allah is pleased with him or her.
people will not be called to account for their experiences, but rather for their attitudes, thoughts, and sincerity they displayed at the time of these experiences. therefore, endeavoring to see the goodness and the divine purpose allah creates in the situations encountered and taking a positive attitude will bring bliss to believers both in this world and in the hereafter. no sorrow or fear awaits these believers who are aware of this secret. similarly, no one, no event can create fear, harm, or distress in this world or in the hereafter. allah reveals this secret in the qur'an:
[those who follow my guidance will feel no fear and will know no sorrow.] (al-baqarah 2:38)
[yes, the closer servants of allah will feel no fear nor shall they grieve: those who believe and have done their duty, there is good news for them in the life of the world and in the hereafter. there is no changing the words of allah. that is the great victory.] (yunus 10:62-64)