Its perspective! The Earth is flat when you stand on it, the same way the Sun is flat, when you stand on the Sun!For the most part I agree with you, but I do not think that the Holy Spirit taught these people that the earth was flat, set on a foundation, and did not move and the moon and sun revolved around the earth. They were writing what they understood to be true.