Job asks his friends to consider the state of affairs around them. It is the wicked, not the righteous, who obtain positions of power. So much injustice is left unpunished in this world. And it can be no one but God who makes all these things happen. Therefore, do not be so certain that God rewards the just and punishes the wicked.
24 The earth is given into the hand of the wicked; he covers the faces of its judges if it is not he, who then is it?