It is suggested that a misfortune befalling someone, a group, or a society, is in fact a punishment from God for something that was done.
References: https://en.wikipedia.org/wiki/Divine_retribution