This is what he means, in my opinion: "Confess your sins; receive from God's mouth his support after your confession; and take his words into your heart." Certainly Eliphaz said these things, as he believed, by making himself equal to Job.… However, he pronounces a correct dogma here. He, in fact, thinks that Job suffers his adversities because of his sins but also so that he will be purified through the endurance of his afflictions. Once he is purified, he will be delivered from any extraneous element and freed from any involvement with iniquity. And like gold refined in a melting pot, he will appear to be tested. If you, he says, endure what has happened to you, God will make you pure, like silver purified with fire.
This means that you will be restored to your former state. And God will be your helper while before it seemed that he had completely neglected the care of your salvation, as if he had been absent.
22. What is denoted by ‘earth’ but weakness in conduct, what by the hardness of the flint but strength, what do we understand by ‘the golden torrents,’ but the instruction of interior brightness? Now to those that turn themselves to Him Almighty God ‘gives for earth the flint,’ in that for weak conduct He bestows the strength of vigorous practice. He also gives ‘for the flint golden torrents,’ in that for vigorous practice He redoubles the instruction of bright preaching, that every converted sinner may from weak be enabled to prove strong, and in his strength rise up even to the uttering forth words of the inner brightness, so that in that person, both weakness of conduct, in which like earth he is crumbled, by strength of good living may be firmly settled, and whereas perception is derived from the life, from that same firmness torrents of gold may run out, seeing that in the mouth of those that live well brightness of teaching runs over.
[AD 253] Origen of Alexandria on Job 22:22-25