The only lesson I can gather from the story of Job is he was a pawn in a cosmic pissing match between God and the Devil. Had this actually happened, I would have been disgusted, but luckily it’s just your typical desert people myth. Man with lots of wealth gets fucked over but keeps on believing in God. The lesson: don’t expect to have a good life even if you are devout. What a fair deal, no?