The third reason is taken from the powerlessness of man to cleanse himself from sin. For man sinks into sin by himself, but it is only God's part to remit sin. So Job asks: If my punishment should not cease for as long a time as my sin remains and you alone can take away my sin. "Why do you not take away my sin?" which I have committed against God or against myself. "Why do you not take away my iniquity?" if any has been committed against my neighbor. Remember, Job does not ask questions of this kind like a rash questioner of divine judgments, but to destroy the falsity which his adversaries w...ere eager to assert, namely that one should hope for good and evil things from God for human deeds only in this life. If this view is asserted, the whole reason for divine judgments by which he punishes men in the life for sin and remits sins in foreordaining those men in the next life to either predestination or reprobation is thrown into confusion. If there is no future life, but only the present one, there would be no reason why God should delay sparing those whom he intends to spare or justify or reward them. So Job shows his own intention clearly, continuing, "Look! Now I will sleep in the dust," as if the end of my life is almost here, when I will die and decay to dust. One cannot hope even to see tomorrow with certainty because of the uncertainty of death. So he says, "If you will look for me in the morning, I will no longer exist," for I cannot promise myself even a life until morning, much less a long span of time in which I can hope you would spare me if there will be no other life.
Consider that Job proceeds according to the manner of a debater, for whom it suffices at the beginning to disprove false opinion and afterwards to explain what he himself thinks is true. Note too that in these opening words, Job touched three reasons why someone should be afflicted in this life by God. The first is that his malice may be restrained so he cannot harm others. He touched this reason in the text, "Am I the sea or a whale that you should surround me to lock me up?" (v. 12) The second is to try man in order to manifest his virtue, and he touched this in the text, "You visit him at dawn and immediately test him." (v. 18) The third reason is to punish sinners, and he touched on this when he said, "I have sinned, what will I do for you, you guardian of men."
Source: Commentary on Job