Deuteronomy 13:18

18 when thou dost hearken to the voice of Jehovah thy God, to keep all his commands which I am commanding thee to-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 all its spoil thou dost gather unto the midst of its broad place, and hast burned with fire the city and all its spoil completely, before Jehovah thy God, and it hath been a heap age-during, it is not built any more;
17 and there doth not cleave to thy hand any of the devoted thing, so that Jehovah doth turn back from the fierceness of His anger, and hath given to thee mercies, and loved thee, and multiplied thee, as He hath sworn to thy fathers,
18 when thou dost hearken to the voice of Jehovah thy God, to keep all his commands which I am commanding thee to-day, to do that which [is] right in the eyes of Jehovah thy God.
Young's Literal Translation is in the public domain.