The strange and wonderful Book of Job treats of the same subject as we are discussing; its contents are a fiction, conceived for the purpose of explaining the different opinions which people hold on Divine Providence. ...This fiction, however, is in so far different from other fictions that it includes profound ideas and great mysteries, removes great doubts, and reveals the most important truths. I will discuss it as fully as possible; and I will also tell you the words of our Sages that suggested to me the explanation of this great poem.
"Guide for the Perplexed". Book by Maimonides, Ch.22, 1190.