In Genesis 1, the 4th day of creation, god created the sun, moon and stars...
...there are so many things wrong with this depiction.
For one, the “dome” (NRSV translation), “expanse” (NASB), “vault” (NIV) or firmament (KJV) was created on the 2nd day, which is supposedly is the “sky”:
But the reality is that the sun, moon and stars are not located within the limitations of this dome/vault/expanse/firmament. This same dome or vault is where birds created on the 5th day can fly:
Birds and sun in the same dome?
How is that in any way possible?
Genesis 1:20 also say that the lights mark the day (between light and darkness, between day and night), but also marked the year, and the seasons.
But the reality is that days, seasons and years, are controlled by the motion of the sun (eg motion of the sun according to the observer’s view of the sky), but on the Earth’s own motions, such as the rotation of the Earth on its axis that tilt about, and on the orbit of the Earth around the Sun, and its distances to the sun (radius) that are based on elliptical orbit.
Since the orbit is elliptical, the radius varied, with the longest radius being aphelion, the shortest being perihelion. The difference between aphelion and perihelion is about 5 million km.
The authors of the OT & NT wouldn’t know all this, because the Hebrew and Christian authors still believed in the Babylonian astronomy that based on the geocentric motion (the sun moving across the sky, while the Earth remained stationary and fixed.)
And like Polymath257 said, the Earth is the one in motion, eg rotating on its axis and orbiting around the Sun; the Earth don’t just hang there, as you cited in Job 26:7, stationary and in fixed position.
That’s not just inaccurate, it is wrong.
And in Joshua 10, during the battle against the Amorites, God stopped the sun and moon, long enough for the Israelite army to completely defeat the Amorites. After that (after their victory) the sun continue it course through the sky.
That’s another indication that the authors of Joshua believed in geocentric motion of the sun across the sky, instead of Earth orbiting around the Sun (heliocentric motion).
All of the biblical claims about the Earth and Sun are wrong (eg in Genesis, Joshua, Job, Psalms, etc), based on outdated geocentric model that began with Bronze Age Babylonian astronomy (as well as repeated in the Egyptian astronomy).
As I stated in earlier post of mine, heliocentric model was first proposed by Hellenistic astronomer, Aristarchus of Samos, who not only described a spherical Earth, but also about the Earth orbiting the Sun - the heliocentric model.
But the heliocentric model was unpopular for 1-and-a-half thousand of years, before it had being revived by Nicolaus Copernicus (mid-16th century), discovered by Galileo, revised the planetary orbits being elliptical by Johannes Kepler (Copernicus’ orbits were circular), and the forces governing the orbital motion identified as gravity by Isaac Newton.