Or it was just primitive man’s way of explaining what he could observe of the universe.
Reverse that; The Story of Creation lists every item of today's Big Bang theory, nuclear theory of the elements, our planet and its solar creation, the tectonic movement of the continents, growth of the plants, clearing of the air after development of the plants, growth of the fish, then dinosaurs (birds!), then animals and domesticated animals, then Man in exactly the right sequence - despite what they could “see” with their own eyes. (Even snakes, very late in evolutionary sequence, were properly put last in the Story.)
For example, the Story tells of forming one sea and one land, when everybody in the area knew there were multiple seas surrounding multiple land area in just their own small part of the world!
The Catholic tradition of the Bible being a record for the people of moral, spiritual, historical, inspirational songs, poems, stories, and parables - but not every story or parable being the literal Truth, not every story being religious or spiritually bound - is faithful to the Story of Creation being both completely and exactly True, but not literally precise.