His people disputed with him. He said: "Do you dispute with me concerning Allah while He has guided me and I fear not those whom you associate with Allah in worship. (Nothing can happen to me) except when my Lord (Allah) wills something. My Lord comprehends in His Knowledge all things. Will you not then remember?"
"And how should I fear those whom you associate in worship with Allah (though they can neither benefit nor harm), while you fear not that you have joined in worship with Allah things for which He has not sent down to you any authority. (So) which of the two parties has more right to be in security? If you but know."
It is those who believe (in the Oneness of Allah and worship none but Him Alone) and confuse not their belief with Zulm (wrong, i.e., by worshipping others besides Allah), for them (only) there is security and they are the guided. And that was Our Proof which We gave Abraham against his people. We raise whom We will in degrees. Certainly your Lord is All-Wise, All-Knowing. Surah 7: 80-83
In that debate, Abraham clarified to his people that these celestial bodies do not serve as deities and cannot be worshipped as partners with Allah the Almighty. Indeed, these bodies are created things, fashioned, controlled, managed and made to serve. They appear sometimes and disappear at others, going out of sight from our world. However, Allah the Almighty does not lose sight of anything, and nothing can be hidden from Him. He is without end, everlasting without disappearance. There is no other deity but Allah.
Abraham made clear to them, first, that the celestial bodies are unworthy of worship and, second, that they are among the signs of Allah. Almighty Allah commanded: And from among His Signs are the night and the day, and the sun and the moon. Prostrate not to the sun nor to the moon, but prostrate to Allah Who created them, if you (really) worship Him. Surah 41: 37