Both astronomy and astrology deal with knowledge. Astronomy is compatible with the Bible. Astrology is not. Actually it is an abomination to God (Deuteronomy 18:9-12). Astronomy is the scientific study of the universe beyond earth, especially the observation, calculation, and theoretical interpretation of the positions, dimensions, distribution, motion, composition of celestial bodies and phenomena. Astrology on the other hand is the study of the positions and aspects of heavenly bodies with a view to assessing or predicting their supposed influence on human characteristics and the course of human affairs. Astrology is from the Greek word "astrologos" Astrology is forbidden in the Bible. No good thing is said about astrologers. The Babylonians could not save themselves with their use (Isaiah 47:11-15).Astrologers use what is called a horoscope. Horoscope is a configuration of the planets and stars at a given moment, such as the moment of a person's birth. Also it is a diagram of the signs of the zodiac based on such a configuration. Horoscope is from the Greek "horoskopos" meaning "hora" (hour), "skopos" (observer) astrologer.
Astronomy (even though the word is not in the Bible) can be studied by Christians because God created the stars and other celestial bodies, so we can observe them and give God the glory for what He created in the heavens (Psalm 19:1). The Sun, moon and the stars are for us to calculate time (Genesis 1:14). They are not to be used for fortune telling, to predict future events in a person's life.
Deuteronomy 18:10 warns us about astrology :observer of times. Astrology is an abomination unto the Lord (Deuteronomy 18:12). Abomination is something or someone that causes great revulsion or abhorrence.
Galileo, Kepler, and Newton were astronomers which God used mightily for His glory. Sir Issac Newton said,"The most beautiful system of the sun, planets, and comets, could only proceed from the counsel and dominion of an intelligent and powerful being."
Even though evolutionists use astronomy to disprove God. Creationists use astronomy to give God the glory and magnify Him as Creator.
"The heavens declare the glory of God; and the firmament sheweth his handywork" (Psalm 19:1)
"In the beginning God created the heaven and the earth" (Genesis 1:1).
"Thou art worthy, O Lord, to receive glory and honour and power: for thou hast created all things, and for thy pleasure they are and were created" (Revelation 4:11).