The third is that man persevere in taking care that he does not relapse into sin. So he says, "if you proceed pure and honest," avoiding uncleanness of the flesh in yourself and the injustices by which your neighbor is injured. So after he has described the perfect conversion, he adds the promise of prosperity saying, "At once, God will awake to you," For God seems to sleep when he permits the just to be afflicted; but he seems to awaken when he defends them according to the text, "Awake, why are you sleeping, O Lord?" (Psalm 43:23) He expresses the effect of this awakening saying, "he will gi...ve you back the peaceful dwelling of your justice," as if to say: Your house and your family were disturbed at the time of your sin, but in the time of your justice, they will have peace.
Source: Commentary on Job