Eliphaz says, "Blessed is the one whom God reproves" and tells Job not to despise the discipline of the Almighty (Job 5:17). He adds that God wounds and also heals, and that his hands injure and heal (Job 5:18).
In Job 5:17–18, Eliphaz urges Job to treat God’s correction as a surprising kind of good fortune rather than as something to resent. He frames the corrected person as “happy,” then warns against treating the Almighty’s discipline with contempt. These lines occur within Eliphaz’s first speech to Job (Job 4–5), where he argues that suffering should be read as morally meaningful and that a wise person should respond with humility. Just before this, Eliphaz presents trouble as something that does not appear out of nowhere and commends seeking God (see Job 5:6–8).
Job 5:17–18 presents suffering through a “correction” frame. Eliphaz states that a person whom God “corrects” can be called “happy” (fortunate), and he warns against treating that discipline as something to despise.
A careful answer keeps the immediate passage, the book's argument, and the whole-Bible storyline together, so the question is answered in context instead of as a detached idea.
Start with Job 5:17, then read the surrounding section so the answer stays connected to the passage's flow.
17"Behold, happy is the man whom God corrects: Therefore do not despise the chastening of the Almighty.