Deuteronomy 4:19

19 `And lest thou lift up thine eyes towards the heavens, and hast seen the sun, and the moon, and the stars, all the host of the heavens, and thou hast been forced, and hast bowed thyself to them, and served them, which Jehovah thy God hath apportioned to all the peoples under the whole heavens.

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 a form of any beast which [is] in the earth -- a form of any winged bird which flieth in the heavens --
18 a form of any creeping thing on the ground -- a form of any fish which [is] in the waters under the earth;
19 `And lest thou lift up thine eyes towards the heavens, and hast seen the sun, and the moon, and the stars, all the host of the heavens, and thou hast been forced, and hast bowed thyself to them, and served them, which Jehovah thy God hath apportioned to all the peoples under the whole heavens.
20 `And you hath Jehovah taken, and He is bringing you out from the iron furnace, from Egypt, to be to Him for a people -- an inheritance, as [at] this day.
21 `And Jehovah hath shewed himself wroth with me because of your words, and sweareth to my not passing over the Jordan, and to my not going in unto the good land which Jehovah thy God is giving to thee -- an inheritance;
Young's Literal Translation is in the public domain.