It was narrated that Zaid bin Khalid Al-Juhani (RA) said: "It rained during the time of the Prophet (ﷺ) and he said: 'Have you not heard what your Lord said this night? He said: I have never sent down any blessing upon My slaves but some of them become disbelievers thereby, saying: 'We have been given rain by such and such a star.' As for the one who believes in Me and praises Me for giving rain, that is the one who believes in Me and disbelieves in the stars. But the one who says: 'We have been given rain by such and such a star' he has disbelieved in Me and believed in the stars."
(Sunan an-Nasa'i 1525, Book 17, Hadith 22)
When you look up at the heavens, do not think that the heavens and stars bless you, they are a blessing of Allah. In pre-Islamic times, many looked up high and thought blessings rained down from the various stars in the sky. They did not realise that everything that is created must have a creator and the Lord of the worlds is Allah (SWT). Appreciate His blessings but be sure to attribute them to Him and to nothing else.