Job 2:9-10
Then his wife said to him, “Do you still hold fast your integrity? Curse God and die.” 10But he said to her, “You speak as one of the foolish women would speak. Shall we receive good from God, and shall we not receive evil?” In all this Job did not sin with his lips.
Fair enough, but a couple thoughts.
God knew Satan was going to test His servant. Just as He knew where Adam was, but still He asked Adam where are you? God knew Satan was considering His servant Job.
In a similar account we see Jesus praying for Peter, Satan has asked to sift you like wheat, but I have prayed your faith will not falter. We of course see that Peter’s faith does temporarily falter, but Jesus restores him.
Satan wanted to sift Job like wheat and he did so. As a result we see Job repent in dust and ashes, so God did use it all for Job’s good. Including healing him and Scripture records he received double.
And finally Job might have felt God had given him evil, but Jesus was the revelation of the Father and He revealed the works of the devil. Healing all who were oppressed by him.
Acts 10:38
how God anointed Jesus of Nazareth with the Holy Spirit and with power. He went about doing good and healing all who were oppressed by the devil, for God was with him.
Since we see Jesus healing all who were oppressed. It seems to me if it were God’s desire for people to be sick, Jesus would have been doing something against His Will and the Kingdom would have been divided.
i think it’s incomplete to interpret God through an OT story, spoken by Job to his wife, when Jesus came to reveal Him to a people who didn’t know Him. Even though they did have the OT at the time. Especially when it contradicts simple Scripture in the NT. We never see Jesus say or reveal these things about God that some have attributed to Him today. In fact, I believe we see the exact opposite.