The old Hebrew for "ball" sounds like "dur". The only Biblical example supported by the context of the ball being thrown, is at Isaiah 22;18. This word like most words in most languages has extended meanings including "encirclement."
Isaiah was written in the middle Iron Age after 700 BCE.The true perception of astronomical bodies was unknown at that time.
Pythagoras was credited with speculating on the matter of spherical heavenly bodies about a century and a half later but the reality was understood and proved by the Greeks in the third century BCE. I think-- but can't prove it yet that the Babylonians and probably others, possibly the Persians had cracked the problem before 400 BCE.
I have to say I always thought that if there was a God he would have been able to know a thing before humans got the hang of it! But no, the Bible is a human text.