This Is My Faith - Al-fatlawi, Ali - الصفحة ٩٣ - Interpretation of Evils and Tribulations
When those who experienced the damage know that the benefit is more than the damage, they will not be upset – this is of course if they are not selfish. The same goes for earthquakes and other incidents; if the benefit and the gain exceed the loss, they are not evil but pure good
Anwar: But what is the fault of those affected by the damage?
Hasan: Misfortunes and disasters do not always happen because people commit sins, so we should not be surprised here, and even if it was because of the sins, it is still good because the pain and the damage occurring to the sinners will be a form of expiation to their sins.
Anwar: Yet, what is the fault of the believers who suffered from the damage?
Hasan: You are still preoccupied by the idea that these incidents are only for revenge or punishment. No, my brother! We have just shown that the benefit they might have for others. Those who get affected by those misfortunes will be compensated by either expiating their sins or raising their rankings for those with no sins!