I think you're supposed to get the big picture that God was not happy with these three friends, Eliphaz, Bildad, and Zophar.
They think he shouldn't have attributed to God those boils or the death of his children. I know this because if you go to the very last verse () it says, "Then came to him all his brothers and sisters and all who had known him before, and ate bread with him in his house.At any moment God could stop Satan from doing what he is doing.Anytime we think we can blame Satan for something that is happening, we must also reckon with the fact that God is permitting it, which is what Job remarkably does. Then Satan comes and strikes Job with a disease: boils from the top of his head to the bottom of his feet.And they showed him sympathy and comforted him for all the evil that had brought upon him." Now that is the inspired writer talking, not Job in one of his funks.Therefore, it is really clear that Job was right to say, "The Lord gave and the Lord has taken away," and "Shall we receive good at the hand of the Lord and not receive evil?