Commentators explain that Job compares life to two things: a soldier's difficult term of service and a laborer's long day of work. The Hebrew word used can mean both 'warfare' and an 'appointed time.' Job's point is that since life is a difficult, fixed-term assignment, it is natural to long for the relief and rest that death brings, just as a soldier or worker longs for the end of their duty.