Job asked God repeatedly to reveal his sin, whatever it was that he had done to bring on his massive suffering, and he also searched his own life, looking for what he had done, including this,
“If my heart has been enticed by a woman, or if I have lurked at my neighbor’s door, then let my wife grind for another, and let others bow down over her. For that would be wickedness; yes, it would be iniquity deserving of judgment. For that would be a fire that consumes to destruction, and would root out all my increase” (Job 31:9-12).
If he had committed adultery, he would willingly take a severe punishment, but he brought this up, because he knew he had not. He had a good conscience.
Great is the freedom that a good conscience gives.