Imam Ibn Kathir رحمہ اللہ reported from pious predecessors that:
مَنِ اعْتَقَدَ فِي هَذِهِ النُّجُومِ غَيْرَ ثَلَاثٍ فَقَدْ أَخْطَأَ وَكَذَبَ عَلَى اللَّهِ
Whoever holds the belief regarding the stars، other than these three then he lies on Allah Azzawajal and make a huge mistake:
1. أَنَّ اللَّهَ جَعَلَهَا زِينَةً لِلسَّمَاءِ
-Allah created the stars to beautify the skies.
As Allah says in Quran: اِنَّا زَیَّنَّا السَّمَآءَ الدُّنۡیَا بِزِیۡنَۃِ الۡکَوَاکِب
Indeed, We have adorned the nearest heaven with an adornment of stars.
[Surah As Saffat 9/6]
2. وَرُجُومًا لِلشَّيَاطِينِ
-To drive away Shaitan from the sky
As Allah says in Qur'an:
وَلَقَدْ زَيَّنَّا السَّمَاءَ الدُّنْيَا بِمَصَابِيحَ وَجَعَلْنَاهَا رُجُومًا لِلشَّيَاطِينِ وَأَعْتَدْنَا لَهُمْ عَذَابَ السَّعِيرِ
And We have certainly beautified the nearest heaven with stars and have made [from] them what is thrown at the devils and have prepared for them the punishment of the Blaze.
[ Surah Al Mulk 67/5]
3. وَيُهْتَدَى بِهَا فِي ظُلُمَاتِ الْبَرِّ وَالْبَحْرِ
-For the navigation in dark and harsh ocean voyages.
As Allah says in Qur'an:
وَهُوَ الَّذِي جَعَلَ لَكُمُ النُّجُومَ لِتَهْتَدُوا بِهَا فِي ظُلُمَاتِ الْبَرِّ وَالْبَحْرِ قَدْ فَصَّلْنَا الْآيَاتِ لِقَوْمٍ يَعْلَمُونَ
And it is He who placed for you the stars that you may be guided by them through the darkness of the land and sea. We have detailed the signs for a people who know.
[Surah Anaam 6/97]
[Tafseer Al Qur'an al Azeem La Ibn Kathir Under the commentary of Surah Anaam verse 97]
Imam Baghwi رحمہ اللہ also stated the same regarding three benifits of Stars.