Deuteronomy 17:3

so as to go and serve foreign gods and adore them, such as the sun and the moon, or any of the host of heaven, which I have not instructed

Other versions

King James Version

And hath gone and served other gods, and worshipped them, either the sun, or moon, or any of the host of heaven, which I have not commanded;

English Standard Version

and has gone and served other gods and worshiped them, or the sun or the moon or any of the host of heaven, which I have forbidden,

New International Version

and contrary to my command has worshiped other gods, bowing down to them or to the sun or the moon or the stars of the sky,