From the story of Job in Chapter 2:
6 “Very well,” the LORD told Satan, “he is in your power; only spare his life.” 7 So Satan left the LORD‘ s presence and infected Job with incurable boils from the sole of his foot to the top of his head. 8 Then Job took a piece of broken pottery to scrape himself while he sat among the ashes. 9 His wife said to him, “Do you still retain your integrity? Curse God and die!”
10 “You speak as a foolish woman speaks,” he told her. “Should we accept only good from God and not adversity?” Throughout all this Job did not sin in what he said.