Everything is from God indeed, when sins/injustice etc increased. then God give lesson to others peoples.
Peoples are selfish when something happen god with them then they feel proud and when something happen bad with them then they start blame to god.