Since Eliphaz spoke before (5:17-27) to move Blessed Job from despair, he promised him earthly happiness if he would not reject the rebuke of the Lord. Here then, after Blessed Job demonstrated the rational causes of his sorrow, wants to further demonstrate that this aforementioned consolation of Eliphaz based on promising him the recovery of earthly happiness is unfitting. He first demonstrates this from the condition of the present life and then, later (v.5) from his own individual condition.
The opinions of men have differed about the condition of this present life. Some held that ultimate... happiness was experienced in this life. The words of Eliphaz seem to follow this opinion. The ultimate end of man is in that place where he expects the final retribution for good or evil. So if man is rewarded by God for good deeds and punished for evil deeds in this life, as Eliphaz is eager to prove, it seems necessary to conclude that the ultimate end of man is in this life. But, Job intends to disprove this opinion and he wants to show that the present life of man does not have the ultimate end in it, but is compared to this end as motion is compared to rest and the journey to the destination. He therefore compares this state to those states of man which tend to some end, namely the state of soldiers who tend to victory in military campaigns. So he says, "Man's life on earth is combat," as if to say: The present life which we live on earth is not like a state of victory, but like the state of a military campaign. He also compares it to the state of a hireling, as so he adds, "and his day like the day of the hireling," i.e. the time of man living on earth. He compares the present life to these two states because of two things which threaten man in this present life. First, he must resist impediments and harmful things and on account of these he is compared to warfare. He must also do works useful for the end and on account of this he is compared to a hired man. From both images, one is given to understand that the present life is subject to divine providence. For soldiers fight under a general and hired men wait for their pay from an employer. Also, the falsity of the opinion which Eliphaz defended is plain enough in these examples. For it is clear that the general of the army does not spare the vigorous soldiers from the dangers or toils, but the whole nature of warfare demands at times that he exposes them to both very great dangers and tasks. After the victory has been won, the general honors those men more who proved more vigorous. In the same way, the father of a family entrusts the more difficult tasks to the better hired men, but on pay day he gives higher salaries to them. So divine providence does not dispose things so that the good are more freed from adversities and labors of the present life, but rewards them more at the end.
Source: Commentary on Job