Men often propose some things as capable of being proved, although they are false; but when they do not know how to defend them or prove them convincingly they show their ignorance when they speak. This was the case with the friends of Job. So he then says, "Would that you were silent so that people would think you were wise men," because the very fact that you defend and prove false dogmas unfittingly shows that you are foolish.
Source: Commentary on Job