The judge — The civil magistrate; who being advanced and protected by God, is obliged to maintain and vindicate his honour, and consequently to punish idolatry. Denied God — Not directly but by consequence, because this was to rob God of his prerogative, by giving to the creature, that worship which is peculiar to God.
Related Commentaries of Job 31:28
Job 31:28
28 This also were an iniquity to be punished by the judge: for I should have denied the God that is above.