To be without error the Bible would have had to say, "The earth stopped rotating", not that "The sun stood still" since it is the earth that rotates not the sun that rises and sets. This is an error. The man-made bible is not without error. The evidence is in Joshua. All you have to do is read it.
The Bible is clearly not, nor was it ever intended to be, a science book. God used the writers of the Bible to speak to man in ways that man could understand. It's all about faith.