Deuteronomy 13:18

18 if you obey the voice of the Lord your God by keeping all his commandments that I am commanding you today, doing what is right in the sight of the Lord your 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 All of its spoil you shall gather into its public square; then burn the town and all its spoil with fire, as a whole burnt offering to the Lord your God. It shall remain a perpetual ruin, never to be rebuilt.
17 Do not let anything devoted to destruction stick to your hand, so that the Lord may turn from his fierce anger and show you compassion, and in his compassion multiply you, as he swore to your ancestors,
18 if you obey the voice of the Lord your God by keeping all his commandments that I am commanding you today, doing what is right in the sight of the Lord your God.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.