Deuteronomy 8:19

19 `And it hath been -- if thou really forget Jehovah thy God, and hast gone after other gods, and served them, and bowed thyself to them, I have testified against you to-day that ye do utterly 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 thou hast said in thy heart, My power, and the might of my hand, hath made for me this wealth:
18 `And thou hast remembered Jehovah thy God, for He it [is] who is giving to thee power to make wealth, in order to establish His covenant which He hath sworn to thy fathers as [at] this day.
19 `And it hath been -- if thou really forget Jehovah thy God, and hast gone after other gods, and served them, and bowed thyself to them, I have testified against you to-day that ye do utterly perish;
20 as the nations whom Jehovah is destroying from your presence, so ye perish; because ye hearken not to the voice of Jehovah your God.
Young's Literal Translation is in the public domain.