R. Nechemiah says: Beloved are afflictions. Just as offerings conciliate, so, afflictions conciliate. What is written of offerings? (Leviticus 1:5) "and it shall conciliate for him to atone for him." What is written of afflictions? (Ibid. 26:43) "… and they shall conciliate for their sin." And, what is more, afflictions conciliate more than offerings do. For offerings are (effected) with one's money, and afflictions, with one's body.
Rabbi Nechemiah Made a Bold Claim Afflictions Are Beloved by God
Mekhilta Tractate Bachodesh 10:11