Deuteronomy 8:19

19 It shall be, if you shall forget the LORD your God, and walk after other gods, and serve them, and worship them, I testify against you this day that you 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 and [lest] you say in your heart, My power and the might of my hand has gotten me this wealth.
18 But you shall remember the LORD your God, for it is he who gives you power to get wealth; that he may establish his covenant which he swore to your fathers, as at this day.
19 It shall be, if you shall forget the LORD your God, and walk after other gods, and serve them, and worship them, I testify against you this day that you shall surely perish.
20 As the nations that the LORD makes to perish before you, so shall you perish; because you wouldn't listen to the voice of the LORD your God.
The Hebrew Names Version is in the public domain.