Earth is the center of God's creation and does not move, and the heavenly bodies are arranged around the earth according to God's will. This is clearly laid out in the inerrant word of God:
And God said, Let there be lights in the firmament of the heaven to divide the day from the night; and let them be for signs, and for seasons, and for days, and years:
And let them be for lights in the firmament of the heaven to give light upon the earth: and it was so.
And God made two great lights; the greater light to rule the day, and the lesser light to rule the night: [he made] the stars also.
And God set them in the firmament of the heaven to give light upon the earth,
And to rule over the day and over the night, and to divide the light from the darkness: and God saw that [it was] good.
And the evening and the morning were the fourth day.
He has made the world firm, not to be moved.
You fixed the earth upon its foundation, not to be moved forever.