@Crazy Anglican:
"Are we looking at this as a work of literature with merit or the lack thereof, or are we looking at it as a book that you agree with."
I take it that by that last part you mean agree with morally?
If so--
In a NORMAL case...yes, just as a work of merit or lack thereof...you can argue (and with a good deal of success) that works by authors like D.H. Lawrence aren't made good by moralistic tales, but then, again, they're not TRYING to be moralistic tales...
And that's where we run into a snag in evaluating the Bible as literature--
IT DOES want to be a moralistic tale, these are clearly written as tales wherein the morals are not only highly important but, in many cases, the clear focus--and so, since it sets itself up as a moralistic tale, evaluating the validity of those morals becomes part of the process of evaluating the structure, plot, theme, character, and overall value of the work.
In a regular, secular book, by any author from Anne Bronte to Zora Neal Hurston, you can take the book on secular, and purely (or at least far more purely) literary terms; even an ancient work like those belonging to Homer or Sophocles, where there are clearly ties to a religion and clearly morals expressed, are again secularly told and, in most cases, the moralistic message isn't the overwhelming focus, just one component of the overall story, so even if it fails in modern critical analysis, the whole work isn't lost.
The same can't be said of the Bible (and to be fair, of the Torah and Koran) BECAUSE of the sheer amount of emphasis placed on the moralizing...
If the morals in Genesis or Exodus are sunk, then those books sink with them to a great degree; even if we granted lovely language and imagery (which would depend on the Chapter and verse and, let's face it, translation, I'd actually be far more inclined to credit translators for the lovely verses in the Bible than the original material, just because of how much it's been translated and changed over the years, in translating, the alliteration and meter and rhythm really should be credited more in some cases to translators than the original material, but I digress) the story, if it sets itself up to be about Moral X, and fails in convincing us of its moral message, or if there are gaping flaws in the story's execution of Moral X, suffers.
SO.
My answer is thus twofold:
If it's a secular work, almost ANY secular work...then no, morals alone don't sink it.
If it's a religious book/book of parables for moralistic purposes...then yes, the morals must work, or the text as a whole suffers greatly on analysis.
"That making a bet with the devil, shows that nature of the devil."
Actually...I tend to disagree--I think the bet shows more about the nature of GOD than the Devil.
I mean, we--and presumably the audience of the original stories--could probably already have guessed the Devil would be an immoral creature, and being a swindler and dealer and betting on human suffering is certainly not a shock, that's well within the scope of his character...
But GOD?
The All-Loving God, the paragon of virtue...will sink to the Devil's level and bet on a man's life, KNOWING he'll win the bet and KNOWING that it'll just cause the man tremendous pain and cost lives...
That tells me something more about God, actually, than the Devil, as a character--
Either God is so insecure he must make bets with his inferiors, even when he knows he'll not only win the bet anyway nut that his bet will cause immense suffering and thus he's a selfish personality on top of being somewhat insecure...or else, he's just trivializing life and potentially malevolent in using mortal men to solve a bet--
When the GREEKS did that, with Paris judging who was fairer, Hera, Athena, or Aphrodite, and the winner got The Golden Apple...when THAT story is told, of gods trying to win a bet and using mortals to do it, first with this contest and then later with the Trojan War and different gods and goddesses taking different sides...
It certainly isn't played as a sign of virtuousness...on the contrary, there's almost a manipulative chess-master feel to it all at times, like the humans are just pawns in a petty disagreement, and it speaks VOLUMES to the value system of the Greeks that, in the resolution, after Hera offers Greece and Asia as a prize in return for the Apple, and Athena offers wisdom enough to be a king amongst men and rule the world as a great king if so Paris chooses, he doesn't choose THAT...
But Aphrodite's offer--the loveliest woman on Earth, abducted for his convenience...
Because the decision is NOT glamorized, but almost condemned--Paris makes a human decision, a very impulsive and poor decision...AND IT COSTS HIM AND MANY THOUSANDS OF OTHERS, WE SEE THE CONSEQUENCES OF A BAD DECISION.
With Job...consequences go out the window, it seems, it's all just a means to God's end of winning a bet he knows he'll already win--who cares if Job's family is murdered, just so long as God wins the bet he already knows he'll win!
That said, you can also take the moral lesson from the Trojan War's Beginnings--that impulsiveness and rash decisions can be a slippery slope, as first we see the goddesses act impulsively over the Apple, then Paris, and then Agamemnon takes all the Greeks to war over one abducted girl--and chuck it out the window if you want...and the story still stands up, it's still a compelling story, it still has punch to it, as a story of ideas and of sex and power and all that fun stuff, even if you don't try and find some moral guidance from it.
You can't do that with Job--remove the supposed moral of continued faith in God...
And you're left with the mess of a work that I've here publicly deplored--a horribly sadistic tale of a creature so egotistical and so selfish and so callous and cruel that he's not only willing to make a bet with a lesser being, and not only willing to make a bet with the incarnation of all that is Evil at that...
But willing to do all that AND make an innocent man suffer for it while murdering his family and causing him great suffering, sickness, and scorn...
All to boost HIS ungodly ego.
That's all that's left to Job without the ham-fisted, overwrought moral.
Take away the moral, and Job collapses.
So, too, does Genesis, and Exodus, and many Bible books, for exactly the same reason--when you build your story on a moral foundation, if that moral foundation can be severely challenged or, worse, broken, then your whole story collapses; by contrast, if morals and ideals are just one aspect of your story, and your story (even better) doesn't claim to be absolutely true morally and historically, than you have a bit of leeway.
I don't pick on Milton's "Paradise Lost" and rather laud it because:
1. Well...it's GOOD...
2. Milton claims divine inspiration, but he repeatedly says his story is NOT on divine authority, he knows he's playing a dangerous game writing a fictional retelling of Genesis, so he makes it clear to all his Christian readers that he's NOT pretending to be absolutely morally or historically or theologically true, he DOES have some morals and ideas to get through, but
3. They're rather complex and multi-layered, so even if one aspect of it falls, another may succeed; I can find God unsympathetic and still feel some sympathy for Satan as an anti-hero, or feel some sympathy for Adam when the first thing Eve says to him after eating the Apple and damning them both is essentially, "Well, actually, as you're in charge here, it's actually YOUR fault I just ate this Apple just now",
4. The story does NOT need you to connect morally if you choose not to; you can enjoy the great Battles of the Angels or the wonderful prose (and prose in it's original language and written by Milton, NOT by some translator), and, again, most importantly,
5. The work does NOT claim to be perfect, and in fact goes out of it's way to say repeatedly that it's not trying to be a Biblically-perfect account of what happened, just a divinely "inspired" retelling.
Job doesn't have those outs--it's all or nothing, moral or bust.
And I should probably now address your view of the book, so...
"God turn[s] around knowing what will happen and says OK, I'll withdraw my protection from him (protection that was there all along) and we'll let you test him."
In "Paradise Lost" (and it's the worst part, for this reason) Jesus and Co. in Heaven essentially tell God, "Hey, you know, that Satan fellow, he's probably going to poison Paradise" to which God gives the divine equivalent of a "Shit happens" shrug and just allows it to occur...
And here, again, God's allowing Satan to work evil on man...
If you watched a mugging and rape--TWICE!--and could have stopped it from occurring, didn't, and then told the person you couldn't have interfered because then they wouldn't have learned anything, and--even worse--that they wouldn't have appreciated YOU as much...
Wouldn't you have to think, "Wow, I'm appalling, that was just morally awful, allowing all that suffering and rape to occur when I could've and by all rights should have stopped it, I'm almost as culpable as that rapist for not stopping what I clearly could have, should have, and chose not to stop?"
Just before the righteously-furious lady kicked our hypothetical Crazy Anglican in the groin for not helping...wouldn't you maybe think that? (Not accusing the real "you" of any of that, just saying, God comes off HORRIBLY as a character in this.) ;)
"It's a test of Job, not a test of God."
1. Never said it was a test of God, and
2. It's a RIGGED test...and again, if I set up a torture scenario rigged against you for you and call it a "test"...which is it, a test, or straight-up sadism and torture? I'd have to think most would chose the latter.
"It's immaterial whether God knew what would happen."
I think I've made it clear that I couldn't possibly disagree more strongly or indignantly if I tried, so we'll call that one "already commented on" on my part and move on...
"It's more important that Job knows what will happen."
1. If God already knows...why does it matter if...never mind, my above arguments already.
2. Why? This is the part where those who defend this story as beautiful laud some sort of brilliance and beauty...and I'm sorry, but I just don't see it--where's the beauty in Job knowing who's boss, presuming that he already did know who was boss, as he was a pious person already? To make extra-sure? To really hammer the message of obedience home? Now, MOST will say, essentially:
3. "To make sure Job knows to love God under both the best and worst conditions," and that seems to be a position you back, so I'll treat that position with a response of--why? Treating this as JUST literature, for a moment, and NOT religion or religious truth...to me, at least, it seems that what Job and God have might be deemed a "relationship;" a purely Platonic relationship (lest any Bible Belters begin to beat me silly for daring to suggest a bromance in the Bible) but a relationship nonetheless. NOW--if YOU were in a relationship, Crazy Anglican, romantic or Platonic, and the other party killed your family, destroyed your possessions and purposefully made you horribly sick...would you still view this person as a friend? Would you recommend a friend go back to a husband/wife who acted that abusively, and took advantage of their relationship for the purpose of a bet? Job is a TERRIBLY depressing book, not because bad things happen to Job--come on, I like Poe and Milton and Shakespeare here, I'm not exactly queasy or nervous when it comes to fictional violence--but because of how he reacts and how we (as this is a moralistic story) are told to react...Job reacts by taking it as some fault of his own that this has happened to him! That it's HIS fault that his wife and children died, that he has come to torment and sickness! How awful was it, each time Napoleon and the Pigs in "Animal Farm" had staged executions of false betrayals, and Boxer the Horse said "It must be some fault of our own...I will work harder...Napoleon is always right" when NAPOLEON caused all that suffering--and later had Boxer mercilessly murdered as well! Job is no less whipped into line or done in by blind obedience than poor Boxer...his wife and kids die ON A BET...and he blames himself, because it "must" be his fault, and this is the moral we are to learn--be obedient, no matter the cost, even if God has your wife and children murdered or--to borrow another little tale--turns your wife to salt?
I'm sorry...but where's the beauty there?
" It also flies in the face of the promise of prosperity if you only follow God. The whole story is there to forewarn you that merely following God will not mean that you won't encounter trouble."
...But the only reason Job runs into trouble is because, essentially...God and Satan felt like screwing him over, and bad?
So...???
Your moral interpretation vs. Mine:
Yours: "Just following God won't save you from trouble"...except that it's God who causes the trouble, so I guess that's technically right, but only because God might decide to screw with you horribly at any given moment, even if you are faithful...
Mine: Stay faithful no matter what, even if your supposedly-loving God, whom you have been faithful to this whole time, decides to turn on you, even if God starts to abuse you, and abuse you horribly, still, remain faithful, because, CLEARLY, it's YOUR fault god just decided out of the blue to punish you, not his, so suck it up and ask for another!
"Whether you agree with the theme or not it's a story about the importance of living a righteous life even in the face of adversity."
I'll buy the "adversity" part of that, but living righteously?
...
There's righteous, and then there's smart--I'm sorry, I still see God/Job as an example of Battered Wife Syndrome...and for as "righteous" or "good" as he feels, if Job were alive today and this sort of relationship were played out in a secular level, Job would be in a psychiatrist's office with Dr. Not-Freud saying "Yeah...I can't officially tell you to break up with him and seek out a shelter and group to talk to...but break up and seek out a shelter and find Battered Wives Anonymous online and set up a meeting, this has GOT to stop."
""Is there no merit to the statement "Hey you're going to encounter problems in this life and you're going to feel like everyone is against you at times, but don't give up on your principles.""
There certainly is merit to that line of thought, Crazy Anglican...
But when the story has it so your principles--ie, God--are the direct source of your problems and have led to death, destruction, and pestilence...
There's a time for principles, and a time to realize that principles are not always right and sometimes, finding new principles to live by, or at least questioning yourself and what you believe in the face of everything telling you 2+2 =/= 5, isn't such a bad thing.
"Why is it important within the context of a literary debate if you think God is being a good guy or not? That's a religious question."
Because, to be purely literary here--
The plot, themes, logical structure, and moral dilemma posed by the text DEPEND on God being good...if he's bad, none of that works, logically or otherwise.
That's a bit like asking "If it's just a piece of literature, why does it matter if Hamlet is a good guy or not?"
Because Hamlet does some pretty awful things in the play (almost everyone does, except poor Ophelia) and in order to sympathize with him as a character and view the themes, plot, and other such elements of the story through Hamlet's eyes--and objectively--in the way Shakespeare wants it to work, Hamlet has to be a good guy.
If he's a bad guy and we can't relate to him, then we despise him for 5 acts as he kills Polonius by mistake, struggles with whether or not to kill Claudius, shouts at his mother, breaks up with his girlfriend, has two of his friends executed (though in fairness they were carrying a letter for HIM to be executed) and, finally, kill Laertes in a fencing duel.
We can't relate to his "What a piece of work is a man" speech, or "To be or not to be," or "Alas! poor Yorick!" and all of that...
If he's a bad guy, the ethical compass of the play has gone whack.
But...he's not a bad guy (not the cleanest good guy, either, but that's why he's such a great character, he's good but somewhat ambiguous.)
Even STILL, however, even STILL, as whacked and as poor as a vicious and unsympathetic Hamlet would make a version of "Hamlet" (arguably the Mel Gibson version is a partial example of this sort of failure)...even THEN, the play isn't a purely moralistic piece, so at the VERY LEAST we could say that maybe other aspects of the play might work.
You can't really have a successful "Hamlet" with a Hamlet that tanks, but still, at the very least, you could maybe, say, commend the actress playing Ophelia for bringing life to her character and the theme of shattered innocence she brings...or maybe, even if all the dramatic scenes were colossal failures, the comedic moments in the play might have been good--and there are plenty-so while the adaptation would likely get not make the grade, we could AT LEAST call it a D-minus, maybe, rather than an all-out F, as at least there is SOMETHING that would have still been able to work, hypothetically, even if all the Hamlet-centered action and lines and plot points and moments were utter flops.
WITH THE BOOK OF JOB, HOWEVER...
It's all or nothing, and not by my choice, but by it's choice to be a moralistic tale--
If, for whatever reason, you decided The Three Little Pigs did NOT teach a good lesson, then you'd be quite inclined to say the story was basically a flop, because what defines a moralistic fable?
The fable's morals and the morality of its characters.
If they work, the story works, or is at least in position to work.
If it doesn't work...the foundation, then, of the text is shattered, and it doesn't have a leg to stand on.
The Book of Job, like Genesis and Exodus and many Biblical books, fails for that reason--it's written and told as a religious story in order to convince people that this is the truth, and that these ideas are right, and that these things did happen.
If that's not the case, then the book's objective fails...and thus, the book fails.