Bible Notes Online - Job 27 - ESV
Commentary

v1-6: Job's commitment to personal integrity, a clear conscience, a life of righteousness; his deliberate decision to do right. See Acts 24.16. His wife and friends had attacked him, yet Job maintained his position. Some would say that his righteousness had brought suffering upon him, yet he would not turn from that way of life.

v7-10: Job's expectation was that the wicked would suffer God's judgment. There is no hope for the hypocrite. Any gain in this life will be lost.

The evidence of prayer. Whilst the wicked might call out to God, he does not make prayer his habit; answered prayer depends on an existing relationship with God. The wicked only prays when trouble comes upon him; so why should God answer?

To pray to God as a regular habit is to delight in God.

v11-12: Job takes his opportunity to teach the ways of God. His friends were ignorant of the truths of God, and Job tells them so.

v13-23: Job declares that the wicked will suffer loss. In this respect he is in agreement with his friends, see Bildad's words in chapter 18, and Zophar's in chapter 20. Job did not accept that all suffering is a direct result of specific sins.