Job has not yielded any ground, and now he asks God to put up bail for him to rescue him from his predicament. In addition, he is now not only accusing God for his plight, but he is also accusing Him of closing the minds of his friends so that they cannot judge fairly.
Something deep and wonderful is beginning to happen to Job. He does not yet "see" his sin, but he is vaguely realizing that he cannot justify himself before God or man by his works. He wants their former relationship restored—he wants to be reconciled to the One against whom he has sinned—so that he, in desperation or defiance, almost even as a challenge, asks the One he sinned against to set him free! This is exactly what God does through Christ. However, in Job's case, his condition continues to worsen before it gets better.
John W. Ritenbaugh
Job, Self-Righteousness, and Humility