Deuteronomy 4:19

19 and lest you lift up your eyes to the sky, and when you see the sun and the moon and the stars, even all the host of the sky, you are drawn away and worship them, and serve them, which the LORD your God has allotted to all the peoples under the whole sky.

Deuteronomy 4:19 Meaning and Commentary

Deuteronomy 4:19

And lest thou lift up thine eyes unto heaven
The starry heaven, which to do in itself is not sinful; and may be lawfully and commendably done, to raise admiration at the wonderful works of God in them, and lead to adore the author of them: but if not guarded against may be ensnaring:

and when thou seest the sun and the moon, and the stars, [even] all the
host of heaven;
those bright luminaries, so glorious to behold, and so useful and beneficial to the earth, and the inhabitants of it:

shouldest be driven to worship them, and serve them;
should have an impulse on their minds and their hearts, be inclined and drawn to the worship of them, partly by considering their splendour, glory, and usefulness, and partly by the example of others; for the worshipping of these seems to be and is the first kind of idolatry men gave into, at least it was very ancient; see ( Job 31:26 Job 31:27 ) ,

which the Lord thy God hath divided unto all nations under the whole
heaven;
the sun and the moon by their constant revolutions visit all the parts of the world, and stars are fixed in both hemispheres, so that all nations of the earth receive the benefit and advantage of all these heavenly bodies; but were never designed to be the objects of their worship, as might be learnt from their being divided to them, sometimes one part of the earth enjoying them, and then another, and not present with them all at one and the same time, which, if deities, would have been necessary; see ( Psalms 19:6 ) ( Matthew 5:45 ) .

Deuteronomy 4:19 In-Context

17 the likeness of any animal that is on the eretz, the likeness of any winged bird that flies in the sky,
18 the likeness of anything that creeps on the ground, the likeness of any fish that is in the water under the eretz;
19 and lest you lift up your eyes to the sky, and when you see the sun and the moon and the stars, even all the host of the sky, you are drawn away and worship them, and serve them, which the LORD your God has allotted to all the peoples under the whole sky.
20 But the LORD has taken you, and brought you forth out of the iron furnace, out of Mitzrayim, to be to him a people of inheritance, as at this day.
21 Furthermore the LORD was angry with me for your sakes, and swore that I should not go over the Yarden, and that I should not go in to that good land, which the LORD your God gives you for an inheritance:
The Hebrew Names Version is in the public domain.