Am I the only one who thinks the Book of Job is God at his absolute pettiest? It takes a special kind of sociopath to ruin someone's life just to be able to say "I told you so."
It really is. It absolutely demonstrates how small and parochial the god of the bible is. Remember, this is supposedly the same god who is responsible for billions of galaxies in an infinitely large universe. Which, of course, the ignorant people who wrote it didn't know.
It's fundamentally no different than Zeus dicking around taunting humans. Except that Zeus didn't usually involve anyone other than the target of his manipulations, whereas YHWH killed off Job's ten children as collateral damage.
And at the end, instead of bringing them back with his god magic because he can, supplied him with ten new, different children, who were better than the children he killed off. On the face of it, they seem to have been created by magic without the need for a mother, making Jesus significantly less special.
There isn't a single book of the Old or New Testaments where the god exhibits a higher, better morality than modern humans. Not one. For the obvious reason that it was written by humans of the era with the moral and scientific knowledge of the humans of that era.