Job 22:4 (ESV)

4 Is it for your fear of him that he reproves you and enters into judgment with you?

According to Eliphaz, God is not personally affected by the actions of people. Therefore, whether God rewards or punishes a person, it is always strictly according to what that person deserves. If Job suffers, it is because he deserves it. If he were as righteous as he claims to be, he would simply not have suffered.