Job 36:8-18

8 But if people are bound in chains, suffering for what they have done,
9 God shows them their sins and their pride.
10 He makes them listen to his warning to turn away from evil.
11 If they obey God and serve him, they live out their lives in peace and prosperity.
12 But if not, they will die in ignorance and cross the stream into the world of the dead.
13 Those who are godless keep on being angry, and even when punished, they don't pray for help.
14 They die while they are still young, worn out by a life of disgrace.
15 But God teaches people through suffering and uses distress to open their eyes.
16 God brought you out of trouble, and let you enjoy security; your table was piled high with food.
17 But now you are being punished as you deserve.
18 Be careful not to let bribes deceive you, or riches lead you astray.