Deuteronomy 13:18

18 when thou shalt hearken to the voice of Jehovah thy God, to keep all his commandments which I command thee this day, to do that which is right in the eyes of Jehovah thy God.

Deuteronomy 13:18 Meaning and Commentary

Deuteronomy 13:18

When thou shalt hearken to the voice of the Lord thy God
Not only in this case, but in all others:

to keep all his commandments which I command thee this day:
the repetition of which he made unto them, and enjoined the observance of them in the name of the Lord:

to do that which is right in the eyes of the Lord thy God;
which they would do, if they kept the commandments of the Lord, which are holy, just, and good, and must be right in his sight because commanded by him.

Deuteronomy 13:18 In-Context

16 And thou shalt gather all the spoil of it into the midst of the street thereof, and shalt burn with fire the city, and all the spoil thereof every whit, unto Jehovah thy God: and it shall be a heap for ever; it shall not be built again.
17 And there shall cleave nought of the devoted thing to thy hand; that Jehovah may turn from the fierceness of his anger, and show thee mercy, and have compassion upon thee, and multiply thee, as he hath sworn unto thy fathers;
18 when thou shalt hearken to the voice of Jehovah thy God, to keep all his commandments which I command thee this day, to do that which is right in the eyes of Jehovah thy God.
The American Standard Version is in the public domain.