Actually GOD commended Job for speaking rightly of him:
And it was so, that after the LORD had spoken these words unto Job, the LORD said to Eliphaz the Temanite, My wrath is kindled against thee, and against thy two friends: for ye have not spoken of me the thing that is right, as my servant Job hath. Job 42:7
There is more to Job than what most people think... First, was this what God wants to hear from a perfect person? God why was I born? Would I rather been born dead! And how about when God commended Job for what he said, and then Job still say things like,,,, I have spoken what I understand NOT... things too wonderful for me.... Looks like Job and God just cannot get to the same convictions.
And then when Jesus (MY JOB) came even God HIMSELF said.... This is my Son in whom I am well pleased... And I searched and searched the Bible, there is not ONE PLACE where Jesus and God have two opinions about ANYTHING. They are PERFECTLY ONE! Not like Job and God.
Job was not a peron that speaks AGAINST God, but rather against himself... Yet Job did not understand GOD. Job only knew about God what OTHERS told, him, but when God SHOWED him, Job said.... NOW THAT I HAVE SEEN THEE,,,, it means Job now understand the things he previously did NOT understand...
Only NOW will Job KNOW GOD... He did not speak against God back then, but he also did not KNOW God as he did in Job42. So God can commend Job for NOT going against God as his friends did, but God could not commend Job for knowing God, untill God SHOWED Job. And that only happened in Job42...
Here is the thing, A persn may live a life without sin, but that is not the gaurentee that such a person KNOWS GOD.... Only people that KNOWS God will have eternal life. Life eternal is: TO KNOW GOD AND THE ONE HE SENT.... Job did NOT know this before Job 42.... So no matter what Job said, it was only after Job 42 that HE KNEW!