That's probably all true, but quite a few things assumed to be some form of magic in ancient history have already been revealed to have a misattributed scientific basis. Granted, astrology is a much more complex thing to dissect than say, shamans watching animal behavior to predict the future. But I think it's safe to say that Christianity had a huge impact on perpetuating the mystification, probably more than the monetary agenda of the early astrologers.
True, they conflated it with Witchcraft and other areas of Wisdom which, to a slave religion, they'd see as the way of escaping piety.
For the wisdom of this world is folly with God. For it is written, “He catches the wise in their craftiness.”
Trust in the Lord with all your heart, and do not lean on your own understanding. In all your ways acknowledge him, and he will make straight your paths. Be not wise in your own eyes; fear the Lord, and turn away from evil.
(See Ecclesiates for more of this in spades, they make wisdom out to be somewhere between pointless toil and the pain of turning against God.)
How far they've gone out of their way to demonize it always gave me the impression that they'd found it threatening in the hands of others, which in turn had me question if they secretly practiced it themselves in the earlier days of the religion and simply didn't want others to learn of their secrets.
It was, in essence, their competition, much like how they added Pagan features to their idea of Evil. Some fun passages on the subject:
If there is found among you, within any of your towns that the LORD your God is giving you, a man or woman who does what is evil in the sight of the LORD your God, in transgressing his covenant, and has gone and served other gods and worshiped them, or the sun or the moon or any of the host of heaven, which I have forbidden.”
There shall not be found among you anyone who burns his son or his daughter as an offering, anyone who practices divination or tells fortunes or interprets omens, or a sorcerer or a charmer or a medium or a necromancer or one who inquires of the dead, for whoever does these things is an abomination to the Lord. And because of these abominations the Lord your God is driving them out before you. You shall be blameless before the Lord your God, for these nations, which you are about to dispossess, listen to fortune-tellers and to diviners. But as for you, the Lord your God has not allowed you to do this.
By way of answer, Daniel addressed the king: None of the advisors, enchanters, diviners, or astrologers can explain the secret that the king has requested to be made known. But there is a God in heaven who reveals secrets, and he is making known to King Nebuchadnezzar what will happen in the latter days. While you were in bed, the dream and the visions that came to your head were as follows.
All the advice you receive has made you tired. Where are all your astrologers, those stargazers who make predictions each month? Let them stand up and save you from what the future holds. But they are like straw burning in a fire; they cannot save themselves from the flame. You will get no help from them at all; their hearth is no place to sit for warmth.
You are not to eat anything with blood in it. You are not to practice divination or sorcery.
Seriously, they were shook enough to call it "Divination". While they're at it they might as well have demonized the practice of farming for "seeing the future".
Ę̵̚x̸͎̾i̴͚̽s̵̻͐t̷͐ͅe̷̯͠n̴̤̚t̵̻̅i̵͉̿a̴̮͊l̵͍̂ ̴̹̕D̵̤̀e̸͓͂t̵̢͂e̴͕̓c̸̗̄t̴̗̿ï̶̪v̷̲̍é̵͔