The word “magi” is where we derive the words “magic” and “magician”….practices of which were forbidden to God’s people. (Deut 18:9-12)
[...] With God’s foreknowledge, why would he lead pagan astrologers to such a man, knowing that Herod would want to get rid of any threat to his own dynasty?
Firstly, in Matt. 2:1 the Koine Greek word used is "
βασιλεύς" (basileus), and its definition is "a king, monarch, one possessing regal authority".
Secondly, nowhere in Scripture does it say that the Magi were pagan. What Scripture
does say is that the Magi paid homage to/worshiped the King of the Jews. (Matt. 2:1-2;11)
Thirdly, in Maria Valtorta's vision of the Magi talking to Joseph and Mary, she reiterates what she heard the eldest of the Magi explain to them about their journey. Below is an excerpt that pertains to your question:
"They had gone together to Jerusalem, because the Messiah was to be the King of Jerusalem, the King of the Jews. But over the sky of that city, the star had concealed itself and they felt their hearts breaking with pain and had examined themselves to ascertain whether they had failed to deserve God. But when their consciences reassured them, they had applied to king Herod and had asked him in which royal palace the King of the Jews was born because they had come to adore Him. And the king had gathered the chief priests and the scribes and had asked them where the Messiah might be born. And they replied: « In Bethlehem, in Judah ».
And they had come towards Bethlehem and as soon as they left the Holy City, the star had reappeared to them, and the night before their arrival in Bethlehem its brightness had increased; the whole sky was ablaze. Then the star had stopped over this house engulfing all the light of the other stars in its ray. And they had understood that the Divine New-Born Baby was there. And now they were worshipping Him, offering their gifts, and above all, their hearts, which never cease thanking God for the grace granted to them; neither would they ever stop loving His Son Whose holy human body they had now seen."
If Satan had sent the star, he was more than capable of finding men to follow it who shared the same evil blood lust as King Herod to see the King of the Jews killed and make it known then and there, considering he later found an evil man to instigate His murder: Judas Iscariot. The fact that Satan's will to see the King of the Jews killed was through the instigation of a man like Judas, a man who was unlike the Magi, to accomplish that will, it doesn't make sense for him to have chosen men like the Magi in the first place to instigate His death, especially considering the star ultimately led them to the King of the Jews so that they could accomplish their will to pay homage to/worship Him, which they did (Matt. 2:11), and Satan wouldn't have wanted that.