Deuteronomy 4:19

19And beware lest you raise your eyes to heaven, and when you see athe sun and the moon and the stars, ball the host of heaven, you be drawn away and bow down to them and serve them, things that the Lord your God has allotted to all the peoples under the whole heaven.

Job 31:26-28

26 cif I have looked at the sun
Hebrew  the light
when it shone,
or ethe moon moving in splendor,
27and my heart has been secretly enticed,
and my mouth has kissed my hand,
28this also would be fan iniquity to be punished by the judges,
for I would have been false to God above.
Copyright information for ESV