24 For the Lord your God is a consuming fire, a jealous God. 25 "When you father children and children's children, and have grown old in the land, if you act corruptly by making a carved image in the form of anything, and by doing what is evil in the sight of the Lord your God, so as to provoke him to anger, 26 I call heaven and earth to witness against you today, that you will soon utterly perish from the land that you are going over the Jordan to possess. You will not live long in it, but will be utterly destroyed. 27 And the Lord will scatter you among the peoples, and you will be left few in number among the nations where the Lord will drive you. 28 And there you will serve gods of wood and stone, the work of human hands, that neither see, nor hear, nor eat, nor smell. 29 But from there you will seek the Lord your God and you will find him, if you search after him with all your heart and with all your soul. 30 When you are in tribulation, and all these things come upon you in the latter days, you will return to the Lord your God and obey his voice. 31 For the Lord your God is a merciful God. He will not leave you or destroy you or forget the covenant with your fathers that he swore to them. 32 "For ask now of the days that are past, which were before you, since the day that God created man on the earth, and ask from one end of heaven to the other, whether such a great thing as this has ever happened or was ever heard of. 33 Did any people ever hear the voice of a god speaking out of the midst of the fire, as you have heard, and still live? 34 Or has any god ever attempted to go and take a nation for himself from the midst of another nation, by trials, by signs, by wonders, and by war, by a mighty hand and an outstretched arm, and by great deeds of terror, all of which the Lord your God did for you in Egypt before your eyes? 35 To you it was shown, that you might know that the Lord is God; there is no other besides him. 36 Out of heaven he let you hear his voice, that he might discipline you. And on earth he let you see his great fire, and you heard his words out of the midst of the fire. 37 And because he loved your fathers and chose their offspring after them[1] and brought you out of Egypt with his own presence, by his great power, 38 driving out before you nations greater and mightier than yourselves, to bring you in, to give you their land for an inheritance, as it is this day, 39 know therefore today, and lay it to your heart, that the Lord is God in heaven above and on the earth beneath; there is no other. 40 Therefore you shall keep his statutes and his commandments, which I command you today, that it may go well with you and with your children after you, and that you may prolong your days in the land that the Lord your God is giving you for all time."

Matthew Henry's Commentary on Deuteronomy 4:24-40

Commentary on Deuteronomy 4:24-40

(Read Deuteronomy 4:24-40)

Moses urged the greatness, glory, and goodness of God. Did we consider what a God he is with whom we have to do, we should surely make conscience of our duty to him, and not dare to sin against him. Shall we forsake a merciful God, who will never forsake us, if we are faithful unto him? Whither can we go? Let us be held to our duty by the bonds of love, and prevailed with by the mercies of God to cleave to him. Moses urged God's authority over them, and their obligations to him. In keeping God's commandments they would act wisely for themselves. The fear of the Lord, that is wisdom. Those who enjoy the benefit of Divine light and laws, ought to support their character for wisdom and honour, that God may be glorified thereby. Those who call upon God, shall certainly find him within call, ready to give an answer of peace to every prayer of faith. All these statutes and judgments of the Divine law are just and righteous, above the statutes and judgments of any of the nations. What they saw at mount Sinai, gave an earnest of the day of judgment, in which the Lord Jesus shall be revealed in flaming fire. They must also remember what they heard at mount Sinai. God manifests himself in the works of the creation, without speech or language, yet their voice is heard, verse 40, That it may go well with thee, and with thy children after thee. He reminds them that their prosperity would depend upon their piety. Apostacy from God would undoubtedly be the ruin of their nation. He foresees their revolt from God to idols. Those, and those only, shall find God to their comfort, who seek him with all their heart. Afflictions engage and quicken us to seek God; and, by the grace of God working with them, many are thus brought back to their right mind. When these things are come upon thee, turn to the Lord thy God, for thou seest what comes of turning from him. Let all the arguments be laid together, and then say, if religion has not reason on its side. None cast off the government of their God, but those who first abandon the understanding of a man.