I heard a good explanation awhile ago. Essentially, it is a testament of Job's faith. No matter how terrible life gets, no matter how much you favor death rather than endure the pain of life, your trust that God is there and he knows is all you need.
That sounds good, thanks.