Except that the story of Job, in addition to basically being bully porn as well as a morally bankrupt tale that shows how disgustingly twisted and unfair Yahweh is, absolutely SUCKS as a metaphor.
Let’s take a natural disaster like an earthquake, for instance. It’s a horrible situation that’s even more distressing because there’s nobody to blame. Earthquakes aren’t man-made, so people can’t blame each other (unless they’re fundies). And it makes no sense to blame the earthquake either, because earthquakes aren't sentient or sapient and have no will of their own. They just exist. So, in that scenario, the message, “Sorry, but bad stuff just happens and it’s nobody’s fault and we just have to deal with it the best we can,” is relevant because an earthquake doesn’t choose to hurt people. It has no reasons to hurt people because it’s not capable of reason.
That’s not the case with the Book of Job. In this story, God *is* sentient and sapient. Thus, Job had every reason to blame God. And furthermore, God’s pathetic excuse for an explanation to Job at the end of the story is completely ruined by the fact that an explanation was already given at the beginning! Why did God tell Ha-satan to ruin Job’s life? Because he wanted to prove Ha-satan wrong. An explanation *is* given, which totally ruins the moral of “Stuff just happens.” The next time that something bad happens to you? Oh, it’s because God’s making a bet with Ha-satan. It’s because God’s testing you. Hmm, where have we heard that before?
To excuse this piece of tripe by claiming that it’s not meant to be taken literally is like saying that a story about an abusive boyfriend telling his chauffeur to torment his girlfriend for kicks is okay because it’s just a metaphor about how life isn’t fair.