What did people think about the arrangement of planets and stars in ancient civilizations such as Ancient Greece Egypt and India?

Most ancient civilizations believed that everything revolved around the earth and in most cases they believed the earth to be flat.

Also, it may have based around the religion of the civilization.