At at time when it was believed that the earth sat on a large animal or a giant (1500 B.C.), the Bible spoke of the earth's free float in space: "He ... hangs the earth about nothing" (Job 26:7).
Science didn't discover that the earth hangs upon nothing until 1650.