The Bible is not a textbook—not in terms of cosmology, natural science, or even history. It is not a scientific book but a religious one. And therefore the main thing in it is not natural-scientific facts or historical information, but what God was pleased to reveal about Himself to people.
The authors of the Bible are both God and people. God made known what was necessary for human salvation. As for the historical authors of the Bible, receiving the Word of God, they clothed it in a specific literary form characteristic of the cultural-historical context of their time. To read the Bible correctly means being able to distinguish the divine from the human within it. That is why reading the Bible is not only rational, but deeply spiritual as well.