You must be joking
"On the day the LORD gave the Amorites over to Israel, Joshua said to the LORD in the presence of Israel: "O sun, stand still over Gibeon, O moon, over the Valley of Aijalon." So the sun stood still, and the moon stopped, till the nation avenged itself on its enemies"
Even if the sun and the moon stood still, would make no difference to their viewing position from earth, because of earth's rotation.
Aristarchus of Samos (310 – c. 230 BC) was an ancient Greek astronomer and mathematician who presented the first known heliocentric model that placed the Sun at the center of the universe, with the Earth revolving around the Sun once a year and rotating about its axis once a day. But the ignorant primitive authors who wrote the Bible, had their own crazy ideas.