Stars have been the object of much wonder and worship all throughout history. The Quran clearly informs us that the stars are a part of creation, subjected to the command of God. They benefit us by serving as guides in the dark, on land and at sea. It informs us that, like all creation, they will also suffer decline when the world comes to an end.
Also consider the following verses of Surah At-Takwir:
[Al-Qur’an 81:18-24, translator: Pickthall] And the breath of morning That this is in truth the word of an honoured messenger, Mighty, established in the presence of the Lord of the Throne, (One) to be obeyed, and trustworthy; And your comrade is not mad. Surely he beheld Him on the clear horizon. And he is not avid of the Unseen.