Deuteronomy 8:15-20

15 who is causing thee to go in the great and the terrible wilderness -- burning serpent, and scorpion, and thirst -- where there is no water; who is bringing out to thee waters from the flinty rock;
16 who is causing thee to eat manna in the wilderness, which thy fathers have not known, in order to humble thee, and in order to try thee, to do thee good in thy latter end),
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.

Deuteronomy 8:15-20 Meaning and Commentary

INTRODUCTION TO DEUTERONOMY 8

In this chapter Moses repeats the exhortation to observe the commands of God, and urges the Israelites to it, from the consideration of the great and good things God had done for them in the wilderness, and even in those instances which were chastisements, and were of an humbling nature, De 8:1-6, and on the consideration of the blessings of the good land they were going to possess, De 8:7-9 for which blessings they are exhorted to be thankful, and are cautioned against pride of heart through them, and forgetfulness of God, and of his goodness to them while in the wilderness, and when brought into the land of Canaan, which they were to ascribe to his power and goodness, and not their own, De 8:10-18, and the chapter is concluded with a warning against idolatry, lest they perish through it as the nations before them, De 8:19,20.

Young's Literal Translation is in the public domain.