For according to a man’s deeds He repays him; according to a man’s ways He brings consequences.
The scope of Elihu's discourse to reconcile Job to his afflictions and to pacify his spirit under them. In order to this he had shown, in the foregoing chapter, that God meant him no hurt in afflicting him, but intended it for his spiritual benefit. In this chapter he shows that he did him no wrong in afflicting him, nor punished him more than he deserved.
Commenting on Job 34:10-15
Yea, surely God will not do wickedly,.... This truth is repeated and affirmed in the strongest manner; or "will not condemn", as the Vulgate Latin version, and so the Targum, that is, he will not condemn the righteous; for, though he may afflict them, which is done that they may not be condemned with the world, he will not condemn them; for there is no...
Partly here; fully, hereafter (Jer 32:19; Rom 2:6; Pe1 1:17; Rev 22:12).