Deuteronomy 17:3

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

Read Deuteronomy 17:3 Using Other Translations

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;
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,
For instance, they might serve other gods or worship the sun, the moon, or any of the stars—the forces of heaven—which I have strictly forbidden.