Job 6:29 (ESV)

29 Please turn; let no injustice be done. Turn now; my vindication is at stake.

Job believes in his vindication (or righteousness). It is his friends who, with their false accusations, are in danger of committing injustice.