Some of the misfortunes that humankind suffer are the result of his misconduct. Because Allah Almighty never violates the rights, and he never alienate his servants and he never afflicts the one who has put his trust in him to a tragedy or misfortune. Therefore, all the deprivations and the misfortunes that befall upon human beings are due to their own actions, because the merciful Allah has no animosity or hostility toward his servants. As stated in the Holy Qur'an that Allah Almighty never oppresses anyone and does not ruin a right.
source : erfan.ir