The big picture of Job is that there was a man who was, in one sense, blameless in God's sight. He was leading a basically upright life. And there is a reality called Satan who challenges God that his man is not as good as he thinks he is. God gives Satan permission to attack Job, and he does so first through his family and possessions, and then through sickness.
Then there is Job's long illness, and his three friends come. At first they are quiet and offer some counsel, but then they begin to launch into an attack on Job that takes a true theology and distorts it all out of proportion.
Job has about 29 chapters of misapplied theology in the middle. It's very hard to navigate your way through those chapters and determine what is true and what is not, because these guys are mixing up truth and falsehood all over the place. I think you're supposed to get the big picture that God was not happy with these three friends, Eliphaz, Bildad, and Zophar.
And when Elihu shows up, he, I believe, begins to set it right. Finally God speaks and he sets it completely right.
Then there is the last chapter that puts the closure on the whole thing. There it says that God brought all of this upon Job; and Job proves in the end to be a better man than these other men, even though Job himself sinned and had to repent in dust and ashes.
Any suffering person I've ever talked to bears witness to the fact that they have seen more of God and have come to know and trust God more deeply than if their suffering hadn't come.