No, I didn't see that his self-reighteousness was due to fear of the Lord.
God's explanation of Job's Character is clear. Job is one who fears the Lord and turnes away from evil." Why did Job turn away from evil? The text tells us. It was because he feared the Lord.
Let's say you are raising your child and they are doing something that could cause them danger, so you tell them to stop or they are going to get in trouble. They don't have the capacity to understand that danger, but they have the capacity to understand that they are going to get into trouble. So, out of fear, which is something they can understand, they don't do what you don't want them to do. Sooner or later as they mature, they need to make that transition from fear, to love. Fear gets results, but only because it's a language other are only capable of understanding. If a relationship stays in fear, then what a person does begins to be based on a system of punishments and rewards. God wants us to live a certain way because he loves us...
Job was doing everything right, including the rituals that were supposed to draw him closer to God, but they weren't. As far as Job's outside appearance, he was blameless. But his relationship with God was based on fear,and he wasn't maturing. Having this type of relationship driven by punishments and rewards, when you're doing everything right, you begin to bolster your own self rightousness... and that is what Job does when he demands counsel with God himself.
This is why the text does not state that Job was a man after God's own heart... But in Ez 14:14-20 he is counted as one of the righteous...
I noted that the things he did were out of that fear if that is what you intended. His self-righteousness seems to me to be more self-congratulatory than fearful. And yes, we are just doing what we think will protect us from Him if we are not acknowledging His love for us and loving Him for it. I think our love has to be in great part gratitude that He does love us. I don't know why the sages thought him blessed, but God had Job pray for his friends who did not speak rightly of Him as did Job.
It's beyond the scope of this conversation at times, but Job does blaspheme God. This should show us that God does not always hold us accountable for what we say when we are in situations of extreme stress and angst.
But let's say that you had a really bad day.. a bad week. You know who your true friends are because they drop their lives and come to be with you. True friends grieve with you. They sit in silence with you, and mourn with you. They cover themselves in ashes, because they are grieving with you. Ohh, to have those kind of true friends. They are becoming rare in our society. Here's a dinner, we wish you well. Goodbye.
It seems the friends were misrepresenting God in their attempts to convince Job that he was doing wrong. As we sometimes do when we attempt to strike fear into those we consider to be "in sin".
All of them struggled to understand who God was. Each of them, including Job had put God in a box. Each of them held truth to God's nature and economy.
If Job spoke rightly concerning God, it must have been at the end of the book when he admitted he knew nothing, could say nothing and that God knew and was all in all.
Would that we all would come to that full realization and be done with all self effort!!
Job's view of God was certainly stretched. (Job 42:3) This also brought him to repentance (vs. 6) because he was brought low (40:11).
Let's contrast how Job responds to his friends. After he was brought low by God and had repented, the text says,
And Jehovah turned the captivity of Job,
when he prayed for his friends: and Jehovah gave Job twice as much as he had before.
What would have happened if Job had came up from his silence, sitting is ash, reached out and prayed with his friends? Showed them gratitude for being there for him?
If we look at 42:10 After Job had prayed for his friends, the LORD restored his fortunes and gave him twice as much as he had before. <sup class="versenum" id="en-NIV-13934">11</sup> All his brothers and sisters and everyone who had known him before came and ate with him in his house.
They comforted and consoled him over all the trouble the LORD had brought on him, and each one gave him a piece of silver and a gold ring.
Job was finally able to see what love was... before he was brought low, all he knew was rightousness. He did not know how to respond to love, because he could not recognize love.