It does not say God afflicted Job. It says God agreed to let Satan afflict Job. Very different thing! That's the twisted lie Satan is poisoning you with.
Actually it does. God himself says,
'And the Lord said unto Satan, Hast thou considered my servant Job, that there is none like him in the earth, a perfect and an upright man, one that feareth God, and escheweth evil? and still he holdeth fast his integrity,
although thou movedst me against him, to destroy him without cause.'
The text here (Job 2:3) actually has God himself saying that Satan made God attack Job. Satan was able to persuade God to let him sift him like wheat. That's a scary thought.
Both times, also, we see that Satan was given PERMISSION BY GOD to afflict Job. That is no different than a mob boss sending out a hitman to kill someone. Ok, maybe the mob boss did not pull the trigger, but he still authorized the killing. If God gave permission to Satan, then he effectively did it to Job.
This is further seen in Job 42:11, when the bible says,
'Then came there unto him all his brethren, and all his sisters, and all they that had been of his acquaintance before, and did eat bread with him in his house:
and they bemoaned him, and comforted him over all the evil that the Lord had brought upon him: every man also gave him a piece of money, and every one an earring of gold.'
Job himself even said that we receive both good
and evil from the hand of God. (Job 2:10)
'But he said unto her, Thou speakest as one of the foolish women speaketh. What?
shall we receive good at the hand of God, and shall we not receive evil? In all this did not Job sin with his lips.'
Notice, Job did not sin by saying that.
Believe me, I would love it if you were correct about this. I wish this were not so. Why would I want to serve such a God, that afflicts me, as he did Job? It is like being in an abusive relationship with someone whom you love, but they afflict you with evil and hardships.