Though He slay me,
I will hope in Him.
Nevertheless I will argue my ways before Him.
This also will be my salvation,
For a godless man may not come before His presence.
Listen carefully to my speech,
And let my declaration fill your ears.
Behold now, I have prepared my case;
I know that I will be vindicated.
Who will contend with me?
I think this is the most "telling" of what Job had to say ... seems he was daring God to contend with him ...
Reading through what Job said it does seem that he felt abandoned by God ... and that lead him to then attempt to justify himself.