Job 5:17 Halakhah

הִנֵּ֤ה אַשְׁרֵ֣י אֱ֭נוֹשׁ יוֹכִחֶ֣נּֽוּ אֱל֑וֹהַּ וּמוּסַ֥ר שַׁ֝דַּ֗י אַל־תִּמְאָֽס׃

Behold, happy is the man whom God correcteth; Therefore despise not thou the chastening of the Almighty.

Read halakhic rulings (Jewish law) on Job 5:17: and classical halakhic sources.