15 If I be wicked, woe unto me; and if I be righteous, yet will I not lift up my head. I am full of confusion; therefore see thou mine affliction;
[AD 604] Gregory the Dialogist on Job 10:15
If I be wicked, woe unto me; and if I be righteous, yet will I not lift up my head: I am full of affliction and misery.

Yea, the wicked man has 'woe,' and the righteous man 'affliction,' in that both everlasting damnation follows the lost sinner, and each one of the Elect is purified by the pains of temporary affliction. The wicked man lifts up his head, yet when so lifted up he cannot escape the woe that pursues him. The righteous man, faring ill with the toils of his conflict, is not suffered to lift up his head, but while hard pressed, he is freed from everlasting affliction. The one sets himself up in pleasure, but is plunging himself into the punishment that succeeds. The others sinks himself to the earth in sorrow, yet hides himself from the weight of eternal visitation. Thus let the holy man consider how man either in striving against evil, is afflicted with present trouble, or giving up the contest, he is delivered over to eternal anguish, and let him say, If I be wicked, woe unto me; and if I be righteous, yet will I not lift up my head: I am full of affliction and misery; as if he lamented openly, saying, 'Either bowed down under the desires of the flesh, I am exposed to eternal punishment, or if I fight against unlawful impulses, I am tormented with present woe, seeing that I am not quit of the toils of the fight.' But the Providence of the Most High does for this reason suffer us who serve Him with all the bent of the mind, to be buffeted by the assaults of our flesh, lest our mind, by presuming on its own security, dare to lift itself up in pride, that whereas, when a shock comes it is filled with fears, it may set the foot of hope the stronger, in the aid of its Maker alone.

[AD 1274] Thomas Aquinas on Job 10:15
He also adds another argument as a consequence which is this: If sin is the whole cause for the present adversities, it would follow that the just would not suffer adversities in this world like sinners do. Now, we see that adversities are universally suffered by both the just and sinners. This is just what he says, "If I am unjust, woe is me!" because I suffer adversities; "and if I will be just," either I was that way earlier or only now became so, "I will not," on this account, "lift up my head," as if I have been raised up from misery. I speak as one existing "drowned in affliction" from sorrow, "and misery," from need and confusion. By drowning he refers to the abundance of his affliction and misery, and he seems to say this against the words of Eliphaz (5:18) and Bildad (8:5) who had said that if he were converted he would be freed from adversity. Against this he says that even if he were justified, he is still not free from misery on this account, although he has been sufficiently punished for his past sins, if there were any. He shows this using the term designating the fullness of misery and affliction.