You seem to see job as a self righteous hypocrite, but I se something else.
If you read the book you will see that Job did consider himself too righteous to have to suffer as he was and blamed God for being unfair.
Job 6:5 Doth the wild ass bray when he hath grass? or loweth the ox over his fodder?
Job 6:6 Can that which is unsavoury be eaten without salt? or is there any taste in the white of an egg?
Job 6:7 The things that my soul refused to touch are as my sorrowful meat.
Job 6:8 Oh that I might have my request; and that God would grant me the thing that I long for!
Job 6:9 Even that
it would please God to destroy me; that he would let loose his hand, and cut me off!
Job 6:10 Then should I yet have comfort; yea, I would harden myself in sorrow: let him not spare; for I have not concealed the words of the Holy One.
Job 6:11 What is my strength, that I should hope? and what is mine end, that I should prolong my life?
Job 6:12 Is my strength the strength of stones? or is my flesh of brass?
Job 6:13 Is not my help in me? and is wisdom driven quite from me?
Job 6:14 To him that is afflicted pity should be shewed from his friend; but he forsaketh the fear of the Almighty.
Job 6:15 My brethren have dealt deceitfully as a brook, and as the stream of brooks they pass away;
Job 6:16 Which are blackish by reason of the ice, and wherein the snow is hid:
Job 6:17 What time they wax warm, they vanish: when it is hot, they are consumed out of their place.
Job 6:18 The paths of their way are turned aside; they go to nothing, and perish.
Job 6:19 The troops of Tema looked, the companies of Sheba waited for them.
Job 6:20 They were confounded because they had hoped; they came thither, and were ashamed.
Job 6:21 For now ye are nothing; ye see my casting down, and are afraid.
Job 6:22 Did I say, Bring unto me? or, Give a reward for me of your substance?
Job 6:23 Or, Deliver me from the enemy's hand? or, Redeem me from the hand of the mighty?
Job 6:24
Teach me, and I will hold my tongue: and cause me to understand wherein I have erred.
Little does Job know that he shall eventually be scolded and taught by God himself, and he would come to understand the errors of his tongue. This takes place near the end of the book for several chapters but is awhile yet in the future. Job continues:
Job 6:25 How forcible are right words! but what doth your arguing reprove?
Job 6:26 Do ye imagine to reprove words, and the speeches of one that is desperate, which are as wind?
Job 6:27 Yea,
ye overwhelm the fatherless, and ye dig a pit for your friend.
Job 6:28 Now therefore be content, look upon me; for it is evident unto you if I lie.
Job 6:29 Return, I pray you, let it not be iniquity; yea, return again, my righteousness is in it.
Job 6:30
Is there iniquity in my tongue? cannot my taste discern perverse things?
Pride is deceptive. It assures you that you are right, even when you are not. Job cannot yet see how his tongue is full of iniquity and untruth about God but he will be shown the truth.
Job speaks:
Job 7:11
Therefore I will not refrain my mouth; I will speak in the anguish of my spirit;
I will complain in the bitterness of my soul.
Job is not going to be quiet about the injustice he feels God is forcing upon him! He will speak out openly and loudly!
Job 7:12 Am I a sea, or a whale, that thou settest a watch over me?
Job 7:13 When I say, My bed shall comfort me, my couch shall ease my complaint;
Job 7:14
Then thou scarest me with dreams, and terrifiest me through visions:
“When I go to bed I should be allowed a safe and pleasant time but, no, God is there to torture me in my sleep!”
Job 7:15 So that my soul chooseth strangling, and death rather than my life.
“I’d rather be strangled to death than live like this!”
Job 7:16 I loathe it; I would not live alway: let me alone; for my days are vanity.
Job 7:17 What is man, that thou shouldest magnify him? and that thou shouldest set thine heart upon him?
Job 7:18 And that thou shouldest visit him every morning, and try him every moment?
Job 7:19 How long wilt thou not depart from me, nor let me alone till I swallow down my spittle?
Job 7:20
I have sinned; what shall I do unto thee, O thou preserver of men? why hast thou set me as a mark against thee, so that I am a burden to myself?
"What makes you so concerned about us humans? Why do you test us from sunrise to sunset? Won't you look away just long enough for me to swallow? Why do you watch us so closely?"
Job later says:
Job 9:13 If God will not withdraw his anger, the proud helpers do stoop under him.
Job 9:14 How much less shall I answer him, and choose out my words to reason with him?
Job 9:15 Whom, though I were righteous, yet would I not answer, but I would make supplication to my judge.
Job 9:16 If I had called, and he had answered me; yet would I not believe that he had hearkened unto my voice.
Job 9:17
For he breaketh me with a tempest, and multiplieth my wounds without cause.
“If God came into court when I called him, he would not hear my case in fact he would strike me with a storm and increase my injuries for no reason at all!”
Job 9:18
He will not suffer me to take my breath, but filleth me with bitterness.
Job 9:19 If I speak of strength, lo, he is strong: and if of judgment, who shall set me a time to plead?
Job 9:20 If I justify myself, mine own mouth shall condemn me: if I say, I am perfect, it shall also prove me perverse.
Job 9:21 Though I were perfect, yet would I not know my soul: I would despise my life.
“Even if I were innocent, God would prove me wrong. I am not guilty, but I no longer care what happens to me.”