Job 35:8 (ESV)

8 Your wickedness concerns a man like yourself, and your righteousness a son of man.

Job was wrong to say that one’s wickedness or righteousness makes no difference. Although it does not affect God, it makes all the difference to oneself and one’s fellow men.