To begin, as other commenters have pointed out, in the story of Job God is not the one directly acting and causing all of Job’s intense suffering. God is, however, sitting passively by while the suffering occurs. At the end of the suffering, when Job has lost everything, doubted, but nonetheless maintained his faith, God restores everything Job lost and then some. Theologically, this story can be taken as a small-scale recreation of life. God allows Satan to work evil in our lives, but those who remain faithful despite doubt will be rewarded greatly in the end. All this aside, you bring up a very potent problem for theism, the Problem of Evil, wherein God, omnibenevolent, omnipotent being allows evil to occur. Simply, the argument goes (sourced from my philosophy of religion professor):
1. Necessarily, if God exists, then
1.a. God has the power to eliminate evil,
1.b. God knows how to eliminate evil, and
1.c. God has the desire to eliminate evil.
2. Necessarily, if anyone has the power/knowledge/desire to eliminate all evil, then evil does not exist.
3. Therefore, necessarily, if God exists, then evil does not exist. (1,2 HS).
4. Evil exists.
5. Therefore, God doesn’t exist. (3,4 MT)
Now, it seems like you do not necessarily oppose God’s existence; you seem to question something along the line of 1c, that God desires to eliminate evil. I have to agree with you, this does look like a problem for theists. If we assert that God exists, we must attack some premise along the argument above. 2 follows naturally from 1, 3 from 1 and 2, 4 seems obvious, so all that is left is 1 itself with its three subpoints. Omnipotence, omniscience, and omnibenevolence: it seems your intuition points you toward rejecting omnibenevolence. I, too, feel the need to reject 1c, though I think your argument for doing so is the best as you sacrifice omnibenevolence. Here is what I think your argument is:
1. God is omniscient.
2. If God is omniscient, God knows the past, present, and future details of our lives.
3. God knows the past, present, and future details of our lives. (1,2 MP)
4. God knew the past, present and future details of Job’s life. (Drawn from 3)
5. God knew Job would choose to remain faithful regardless of suffering. (Inferred from 4)
6. If God knew Job would choose to remain faithful regardless of suffering, God is not omnibenevolent (a-c HS)
6.a. If God knew Job would choose to remain faithful regardless of suffering, the intermediating suffering God allowed was unnecessary.
6.b. If Job’s intermediating suffering was unnecessary, God allowed Job to suffer unjustly.
6.c. If God allowed Job to suffer unjustly, God is not omnibenevolent.
7. God is not omnibenevolent. (4, 8 MP)
If this is indeed the core of your argument (and I am not positive it is, since I don’t fully understand what your free will point is), then I would object chiefly at premise 6a. If we took this argument to be applicable to our lives, then since God knows who will be faithful and who will not, our lives (including the intermediate suffering in them) are unnecessary. However, most think our lives have some sort of purpose. Why not suffering as well? Under the soul-making theodicy, we suffer evil for the purpose of growing in spiritual maturity, growing closer to God. God allows us to choose God, and to do so requires an understanding of the depth and breadth of God’s love regardless of our suffering. One could think God is benevolent simply in the act of allowing us to live our lives at all, as he could just create us at the end of it all at the place of our final development. But the suffering and life itself is worth it because living is worth it, it develops us for the life to come.
Please let me know if this helps at all. I would appreciate the feedback as this is an issue I struggle with as well.