Deuteronomy 4:40

40 and thou hast kept His statutes and His commands which I am commanding thee to-day, so that it is well to thee, and to thy sons after thee, and so that thou prolongest days on the ground which Jehovah thy God is giving to thee -- all the days.'

Deuteronomy 4:40 Meaning and Commentary

Deuteronomy 4:40

Thou shall keep therefore his statutes, and his commandments,
&c.] All his laws, moral, ceremonial, and judicial, partly being under obligation to him for all the great and good things done by him for them before enumerated, and partly and chiefly because he is the Lord God in heaven and in earth, and has a right to command and ought to be obeyed:

which I command thee this day;
in the name of the Lord, and which he repeated, opened, and explained, and charged them afresh to observe; otherwise they were such that had been given long ago:

that it may go well with thee, and with thy children after thee;
that they and theirs might enjoy temporal mercies, and continue in the land of Canaan, and partake of all the blessings in it, as follows, and of the sanctuary of the Lord, and the privileges of it:

and that thou mayest prolong thy days upon the earth, which the Lord
thy God giveth thee for ever;
that is, that they and theirs might live long in the land of Canaan, which the Lord gave for an inheritance for ever, provided they kept his law, and were obedient to his commands; see ( Deuteronomy 6:25 ) ( Isaiah 1:19 ) , and though they have had several interruptions by their captivities, and especially by their present very long one, yet when they shall return and seek the Lord their God, and David their king, they shall have their land restored to them again, and shall never more be dispossessed of it.

Deuteronomy 4:40 In-Context

38 to dispossess nations greater and stronger than thou, from thy presence, to bring thee in to give to thee their land -- an inheritance, as [at] this day.
39 `And thou hast known to-day, and hast turned [it] back unto thy heart, that Jehovah He [is] God, in the heavens above, and on the earth beneath -- there is none else;
40 and thou hast kept His statutes and His commands which I am commanding thee to-day, so that it is well to thee, and to thy sons after thee, and so that thou prolongest days on the ground which Jehovah thy God is giving to thee -- all the days.'
41 Then Moses separateth three cities beyond the Jordan, towards the sun-rising,
42 for the fleeing thither of the man-slayer, who slayeth his neighbour unknowingly, and he is not hating him heretofore, and he hath fled unto one of these cities, and he hath lived:
Young's Literal Translation is in the public domain.