Consider that it also mentioned the earth as being stationary, having corners (four corners of the earth was not an established term like today, the meaning may have well been more literal). It speaks of the sun moving (granted at times this may have been poetic). The earth is described as having "pillars". And a circle is also not a sphere.
Also in my personal opinion (warning opinion imminent) ancient people such as the Egyptians and Mayans had profound understand of the cosmos and astronomy. Sometimes i think we get hung up on the dark ages version of religion and it's utter stupidity to say that people before that were less or just as knowledgeable. We still don't understand how some ancient cultures knew things we didn't know again until only the last 100-200 years.
Any accuracy in the texts of the bible, could have come like much of the wiser parts of the bible, from Egypt. The ten commandants came from the Book of the Dead. Some proverbs came from Egypt texts.
Proverbs 22:17-18: “Incline thy ear, and hear the words of the wise: and apply thy heart to my doctrine. Which shall be beautiful for thee, if thou keep it in thy bowels, and it shall flow in thy lips.”
Amenemope ch1: “Give thine ear, and hear what I say, And apply thine heart to apprehend; It is good for thee to place them in thine heart, let them rest in the casket of thy belly; That they may act as a peg upon thy tongue.”
Proverbs 22:22: “Do no violence to the poor, because he is poor: and do not oppress the needy in the gate.”
Amenemope ch1: “Beware of robbing the poor, and oppressing the afflicted.”
Proverbs 23:1: “When thou shalt sit to eat with a prince, consider diligently what is set before thy face.”
Amenemope ch23: “Eat not bread in the presence of a ruler, And lunge not forward with thy mouth before a governor. When thou art replenished with that to which thou has no right, It is only a delight to thy spittle. Look upon the dish that is before thee, And let that (alone) supply thy need.”
Anything deemed even semi accurate I would write off to not coming from goat herding tribes. But taken from more advanced civilizations they were copying to to write their own foundation myth. Even better case-in-point
There are countless examples of influences from Zoroastrianism
Yasna 44.3 :4-5: “who made the routes of the sun and stars? By whom the moon waxes and wanes?”
Isaiah 40:26: “Lift up your eyes on high, and see who hath created these things: who bringeth out their host by number, and calleth them all by their names: by the greatness of his might, and strength, and power, not one of them was missing.”
Yasna 44.4:1-3: “who fixed the earth below and kept the sky above from falling?”
Isaiah 40:12: “Who hath measured the waters in the hollow of his hand, and weighed the heavens with his palm? Who hath poised with three fingers the bulk of the earth, and weighed the mountains in scales, and the hills in a balance?”