הִנֵּ֤ה אַשְׁרֵ֣י אֱ֭נוֹשׁ יוֹכִחֶ֣נּֽוּ אֱל֑וֹהַּ וּמוּסַ֥ר שַׁ֝דַּ֗י אַל־תִּמְאָֽס׃
Behold, happy is the man whom God correcteth; Therefore despise not thou the chastening of the Almighty.
Read midrashic interpretation of Job 5:17: and classical rabbinic exegesis.