Astrology is not astronomy.
Actually, for most of history, astronomy and astrology were closely linked, uf not one and the same. Even Newton was informed about astrology. The seaparation of astronomy as “science” from astrology as “fortunetelling” really began in the Victorian era.
In Ancient times, they were analogous.