Deuteronomy 8:19

19 And it shall come to pass if thou do at all forget the Lord thy God, and shouldest go after other gods, and serve them, and worship them, I call heaven and earth to witness against you this day, that ye shall surely perish.

Deuteronomy 8:19 Meaning and Commentary

Deuteronomy 8:19

And it shall be, if thou do at all forget the Lord thy God,
&c.] Either the mercies they received from him, not acknowledging they came from him, but ascribing them to themselves; or their duty to him, to whom they were so greatly obliged: and walk after other gods, and serve them, and worship them; which would be to forget him indeed, forsaking his worship, and giving homage and adoration to idols, which is what is intended by these expressions:

I testify against you this day that ye shall surely perish;
by one judgment and calamity or another, as the sword, famine, pestilence, and captivity; there being nothing more provoking to God than idolatry, which so much detracts from his honour and glory: and which besides, in such a people, so highly favoured of God, it argued the basest ingratitude.

Deuteronomy 8:19 In-Context

17 Lest thou shouldest say in thine heart, My strength, and the power of mine hand have wrought for me this great wealth.
18 But thou shalt remember the Lord thy God, that he gives thee strength to get wealth; even that he may establish his covenant, which the Lord sware to thy fathers, as at this day.
19 And it shall come to pass if thou do at all forget the Lord thy God, and shouldest go after other gods, and serve them, and worship them, I call heaven and earth to witness against you this day, that ye shall surely perish.
20 As also the other nations which the Lord God destroys before your face, so shall ye perish, because ye hearkened not to the voice of the Lord your God.

The Brenton translation of the Septuagint is in the public domain.