Some literalist or conservative Christians teach that the Bible lacks error in every way in all matters: chronology, history, biology, sociology, psychology, politics, physics, math, art, and so on.[17] Other Christians believe that the scriptures are always right (do not err) only in fulfilling their primary purpose: revealing God, God's vision, God's purposes, and God's good news to humanity.[18]
Since God speaks in Sacred Scripture through men in human fashion, the interpreter of Sacred Scripture, in order to see clearly what God wanted to communicate to us, should carefully investigate what meaning the sacred writers really intended, and what God wanted to manifest by means of their words."
From wiki. 
Biblical inerrancy - Wikipedia
For 
@ewq1938, the question is, why must scripture be accurate in all matters, physics, art, biology, astronomy etc. Rather than simply just being accurate in other ways such as revealing God, God's vision and purpose and God's good news?