IMHO the last chapters can help set the direction of the study of Job.
eddif
The opening two chapters set the direction of Job. (It is not possible to set a direction from the end of a story since, by that time, it has already run its course.)
In the opening two chapters God makes two bets with Satan.
Bet no.1: When God asks Satan if he has noted the righteousness of Job, Satan responds (essentially), "Of course he worships you; you pay him to worship you. He's the richest and most respected man in the territory because of what you do for him. Take those riches and glory away and he'll curse you to your face."
So God tells Satan he can take everything Job has and then they will see if Job still worships God.
Satan proceeds to ruin Job financially but he still worships God.
Bet No. 2: God asks Satan if he has noticed that Job still worships Him even though He destroyed Job "without cause." (Job 2:3) Note that God takes full responsibility for the calamity which Satan inflicted on Job and that there was no reason to do it other than to win the bet.
Satan says that Job still has his health; if that was taken away, he'd curse you.
God gives Satan the "OK" to take Job's health. Satan does but Job continues to honor God.
So God wins both bets. But God cheated! He already knew what Job would do. God knows everything from beginning to end. It's like betting on a ball game after its over with someone who doesn't know the game is already over
That is the setup for the rest of the story.
That is followed by the "comfort" Job gets from his friends which boils down to, "This is happening to you because either you have sin in your life or you don't have enough faith."
We know that is pure baloney because God said of Job that "there is none like him on the earth, a blameless and upright man, who fears God and turns away from evil". (Job 1:8 & 2:3)
According to the Law of Moses and Proverbs, God is required to bless and protect Job as long as Job keeps God's commands and Job does so flawlessly.
So what happened? Why didn't God keep His part of the bargain? (Covenant)
His friends (and through them, us) got taught not to "put God in a box." God does what He doesn't and doesn't have to explain Himself to anyone. His purposes and wisdom are beyond our comprehension. We don't even get to ask "why does evil happen?" because we wouldn't be able to comprehend the answer if God spelled it out for us. (Job 41-42)
It is not our job to figure out why God does what He does and allows what He allows. ("If God is good, why does He allow suffering?)
Our job is to worship God no matter what we get.
I was did two separate studies of Job. After I had done the first one, my father-in-law died of a heart attack. We were close. After the second, my wife got cancer from which eventually killed her.
I didn't ask why. I didn't curse God. I got it.
my 2 kopecks
iakov the fool