Job 34:10
Therefore hearken unto me, ye men of understanding: far be it from God, that he should do wickedness; and from the Almighty, that he should commit iniquity. Therefore hearken unto me, ye men of understanding: far be it from God, that he should do wickedness; and from the Almighty, that he should commit iniquity.
The declaration belongs to the speeches of Elihu in Job 32-37, spoken by a younger man who steps in after the dispute between Job and his friends closes in chapter 31. Elihu speaks to correct and reprove Job with what he regards as superior wisdom, largely following the same line as Job's friends, aiming to convince Job that Job himself is not great while God is everything, as part of the discussion of the cause and purpose of human suffering. No answer is made to Elihu and no comment is given on his plea before the Lord Himself answers Job from chapter 38 onward by pointing to His mighty works and infinite power and wisdom in creation, showing by contrast how small Job is in material things he can only partly comprehend and still more in God's moral dealings where eternal life is at stake.
The verse declares a truth that is generally valid, that God does no wickedness or injustice, and His goodness is to be inferred from His power and wisdom. Though true in itself, the declaration was misapplied to Job, since adversity, affliction, and suffering do not prove a person is under God's displeasure, and Job held to his integrity and did not foolishly blame God even when he could not understand God's dealings. God saw the end from the beginning and was working through the trial what would glorify Himself forever after, give comfort and hope to thousands of sufferers, and prove a blessing to Job.