Go read Joshua. It DOES NOT SAY THAT THE SUN REVOLVES AROUND THE EARTH! Joshua says that: So the sun stood still, and the moon stopped, till the nation avenged itself on its enemies, as it is written in the Book of Jashar. The sun stopped in the middle of the sky and delayed going down about a full day. Joshua 10:13. It merely describes how it looks to an observer (and if you try to tell me that you have never said "the sun set"...).
Truly a miracle beyond comprehension. In theory, one can "stop the Sun" by stopping the Earth in its rotation. However, you'd notice that as the earthquake from Hades before you could be bothered to notice astonomical oddities. Someone somewhere did some calculations on the difficulties after Velikovsky's book Worlds In Collision proposed that the Earth had indeed stopped. Suffice it to say that the energy of the Earth's spin, about 1000 mph at the equator, wouldn't normally just disappear. And even that won't stop the moon's apparent motion, much of which is the moon's real orbital motion about the Earth.
No, it said what the sun did. It stood still in the heavens and the moon remained in place for an entire day. The only explanation is that the writers of Joshua believed the sun revolved around the earth. Something that has been disproven, but you never know. We may be faced with 'intelligent astronomy' one of these days.