I am assuming that Job was an innocent and upstanding man. Of course, it is entirely possible that one of his wives was young enough to make him a child molester, which is what they say about Mohammed. But fr his times, he was 100% mensch, and he was tormented for no reason at all. So I don't see any reason not to sympathize with him.
If you recall, Job's friends all gave Job similar advice and comments and Job rejected them all.
The writer of the Book of Job wanted to convey the idea that no matter how much Jehovah seems to be a first-class prick and sadist, the faithful should continue believing.... and continuing to bring sacrifices to the Temple. Priests need that protein in their diet: with no priests, the People and no longer "the People".