לְ֭הָסִיר אָדָ֣ם מַעֲשֶׂ֑ה וְגֵוָ֖ה מִגֶּ֣בֶר יְכַסֶּֽה׃
That men may put away their purpose, And that He may hide pride from man;
Rashi on Job
and He covers haughtiness from man with his suffering, in order to vanquish him and humble him to repent, so that he withhold his soul from utter death.