The book of Job is a parody
Is the book of Job a tragedy or a comedy? The answer might seem obvious to you. It is perhaps obviously a tragedy: Job suffers both great loss and great physical pain. Lots of people die. Children die. Like almost all tragedies, the book is about suffering and its meaning or lack thereof.
Or maybe it seems obvious that it’s a comedy. The book has a classic comedic shape. Maybe it isn’t exactly funny, but it is placed inside a frame that is simple and even naive, with a happy ending just to be sure we understand that it is a comedy.