To say that Job is a debate is not to say that the Bible as a whole is a debate or that a Gospel is a debate or that the Book of Revelation is a debate. Often the introduction to each book in a good study Bible will give you the relevant literary form. A second context we need to consider is the culture and the beliefs in place when the book was written. The inspired author and the original audience shared knowledge, presumptions, expressions and concerns that may not be part of our awareness, but may nevertheless influence the meaning of the book or passage. The inspired author may have applied the revealed message contained in a particular book to a shared cultural setting in order to make the message clearer.
People sometimes mistake such applications for the heart of the revealed message.
Thus they put the full authority of Scripture behind passages that reflect beliefs of the time rather than the unchanging truth the author intended to teach. In expressing the revealed truth, a biblical author may show cultural biases and presumptions that later generations know are inaccurate. This kind of misunderstanding resulted in Galileo s excommunication. We know, as biblical authors did not, that the earth is not the center of the universe or even our solar system. We also know that the Bible does not claim to teach astronomy.