Another fundamental principle taught by the Law of Moses is this: Wrong cannot be ascribed to God in any way whatever; all evils and afflictions as well as all kinds of happiness of man, whether they concern one individual or a community, are distributed according to justice; they are the result of strict judgement that admits no wrong whatever.
Moses Maimonides (2016). “Guide for the perplexed”, p.1088, Moses Maimonides