Stars are used as symbols for angels.
Revelation 1:20
The mystery of the seven stars which thou sawest in my right hand, and the seven golden candlesticks. The seven stars are the angels of the seven churches: and the seven candlesticks which thou sawest are the seven churches.
Going back as far as The Book of Job which is the oldest book in the Bible as far as context wise
Job 38
6On what were its foundations set,
or who laid its cornerstone,
d
7while the morning stars sang together
and all the sons of God shouted for joy?
Some Christmas trees are topped with stars and some with angels.
Ancient peoples thought stars were divine beings.
Satan is not barred from Heaven until near the end. He can be found in the presence of God and the Holy Angels in The Book of Job and is mentioned here accusing the Saints before the Throne.
Revelation 12
0And I heard a loud voice in heaven saying:
“Now have come the salvation and the power
and the kingdom of our God,
and the authority of His Christ.
For the accuser of our brothers has been thrown down—
he who accuses them day and night before our God.
11They have conquered him by the blood of the Lamb
and by the word of their testimony.
And they did not love their lives
so as to shy away from death.
12Therefore rejoice, O heavens,
and you who dwell in them!
But woe to the earth and the sea;
with great fury the devil has come down to you,
knowing he has only a short time.”