In this Chapter Job responds to Sophar who has stated that Job does not understand the power of God. Job responds that he well knows that God is all powerful:
Job asserted above (v.2) that what Sophar had said about the excellence of the greatness of God that was evident to all men. Here he intends to show that men can come to an understanding of these things by the experience of divine power and wisdom in human affairs. First, then, he shows how men arrive at knowledge in things from experience, saying, “Does not the ear judge words” namely when it hears them, “and” does not “the palate of one eating,” distinguish “flavor”. Since experience is from sense, he fittingly shows the power of experience for the judgment of the senses especially in hearing and taste. For, since hearing is the most teachable of all the senses, hence it is most valuable in the contemplative sciences. Taste, however, is appreciative of food, which is necessary for the life of men; and the hence through the judgment of taste he expresses the experience which one has about things in the active life. Because of this, from the judgment of the two senses, he shows the power of experience as much in speculative things as in practical things. When he then says, “There is wisdom in the ancients,” this expresses the contemplative life because old men heard many things. “Prudence comes with advanced age.” This express the active life because men taste many things in a long life, both helpful and harmful.
After he has shown the power of experience, he then adds what men can know by experience about God when he says, “With him is wisdom and courage, he has counsel and understanding.” Here he attributes four things to God which have an order among themselves. The first, certainly, is to know hidden things, which pertains to understanding. Second, from the things he understands one discovers in actions means which are fitting for an end. This pertains to the counsel just as in speculative things, by also those things which a man understands he deduces reasons to know certain conclusions. The third is for the purpose of having a right judgment about the things which man investigates, which pertains to wisdom. The fourth is that he might vigorously execute those things which he judges ought to be done, and this pertains to fortitude.
For since experience proceeds from sensible things, which although prior as to our way of being, are yet simply and in their nature posterior, he therefore begins to show how men can know divine power by experience. He does this first in human affairs themselves. For we can see that some men are totally destroyed, either by death, as far as natural being, or by complete humiliation, as to life in civil society even though they still have many protectors. So when they cannot be helped by men to escape destruction, it is clear that this happens to from some concealed cause both, divine and excelling human power, since human power cannot resist him. This is what he says, “If he destroys, there is no one who rebuilds.” In the same way we see that some are impeded in their projects, even if they are not completely destroyed, although they may have many counselors. Thus it clear that this destruction also results from by some more excellent power. So he then says, “if he closes a man in,” by involving him in different kinds of difficulties, “there is no one to free him,” i.e. who can set him free, for according to the Qoheleth, “No one can correct him whom God has despised.” ( 7:14)
Go here to read the rest. It is precisely that God can do all things which perplexes Job why He has allowed such misfortune to fall upon him.