Deuteronomy 17:3

3 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,

Deuteronomy 17:3 Meaning and Commentary

Deuteronomy 17:3

And hath gone
The Targum of Jonathan adds, after the evil imagination or concupiscence, lusting after other lovers, and forsaking the true God, and departing from his worship:

and served other gods;
strange gods, the idols of the people, other gods besides the true God; the creature besides the Creator:

and worshipped them;
by bowing down before them, praying to them, or ascribing their mercies and blessings to them, and giving them the glory of them:

either the sun, or moon, or any of the host of heaven:
the two great luminaries, and the planets, constellations, and stars, any of them; which kind of idolatry very early obtained, and was in use at this time among the Heathens, and was an iniquity to be punished by the judge, ( Job 31:26-28 ) , which sin, though so strictly forbidden, the people of Israel sometimes fell into, ( 2 Kings 21:3 ) ( 23:4 )

which I have not commanded:
and which is a sufficient reason, in matters of worship, to avoid and abstain from anything, that God has not commanded it; for in things of that nature nothing should be done but what he has ordered, who is a jealous God, and will not suffer any to take upon them to direct what should be done as a religious service and duty; and if any are so presumptuous, they must expect it will be resented; see ( Isaiah 1:12 ) and especially with respect to the object of worship, as here, and which relate to things if not forbid expressly, yet tacitly, to do which was an abomination to the Lord.

Deuteronomy 17:3 In-Context

1 "You shall not sacrifice to the LORD your God an ox or a sheep in which is a blemish, any defect whatever; for that is an abomination to the LORD your God.
2 "If there is found among you, within any of your towns which the LORD your God gives you, a man or woman who does what is evil in the sight of the LORD your God, in transgressing his covenant,
3 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,
4 and it is told you and you hear of it; then you shall inquire diligently, and if it is true and certain that such an abominable thing has been done in Israel,
5 then you shall bring forth to your gates that man or woman who has done this evil thing, and you shall stone that man or woman to death with stones.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.