In Chapter Six Job answers Eliphaz, asserting his innocence of mortal sin:
Job takes the beginning of his response from this point. For it is certain that because of the frailty of the human condition, no man is free from sin however just he may appear to be. Nevertheless, in just men sins are not grave and mortal sins but trivial and venial sins which occur as a result of negligence and deception. If what Eliphaz strives to prove were true, i.e. the adversities of this present life were the proper punishments for sin, it would follow that men would suffer grave adversities because of grave sins and light adversities for light sins. Thus just men would never be subject to grave adversities, which is clearly false. Job proposes this argument, then, against the scientific discussion of Eliphaz and so the text continues, “The Job answered saying: Would that my sins for which I have merited anger and the calamity which I suffer were weighed in a balance.,” as if to say: I cannot say that there are no sins in me, yet I am confident that there is no mortal sin in me, but venial sins. If then I merited this sort of anger from God, as punishment for such sins, my calamity and my sin should be weighed in the scale of justice so that one can correspond to the other according to the measure of equality. But the adversity appears to be much greater and so he continues, “Like the sands on the sea,” which means without parallel, “this”, i.e. the calamity, “could not equal them,” i.e. if the opinion of Eliphaz were true and the adversities of this world are inflicted only because of sin, since it is apparent that many wicked men suffer light adversities, Job’s sins seem next to nothing in comparison with theirs.
From this he goes on to excuse himself from the sadness which he had expressed in words saying, “And so my words were full of bitterness,” with the conclusion he infers that his pain was caused by the magnitude of his suffering. He adds that there are two causes of pain. Pain is sometimes caused by things someone has already endured, sometimes by things he is afraid he will endure. He first then assigns the cause of his pain resulting from things which he had already endured saying, “Because the arrows of God stuck fast in me.” In this he demonstrates that he had been afflicted unexpectedly; for an arrow comes suddenly from far off. He shows the greatness of the wound as he says, “their pain drains my spirit,” i.e. the pain has not permitted me to breathe, but totally robs me of whatever strength and consolation could have been in me. Then he shows the cause of the pain from what he was afraid he would suffer saying, “God’s terror stands arrayed against me.” For the afflicted are usually consoled by the hope of a better state, but when after one affliction comes, one fears similar or greater afflictions again, he seems to have no consolation left.
Go here to read the rest. Job and his friends have a similar view that the type of misfortune is the product of sin. If this were the case there would be less merit in being good since experience would teach us that to avoid travail in this Vale of Tears that virtue is the path to follow. What we too often learn is that it is good that virtue is its own reward since frequently the ills that flesh is heir to, to steal from Hamlet, rain down indifferently on the good and the evil.