Deuteronomy 13:18

when you will heed the voice of the Lord your God, keeping all his precepts, which I am entrusting to you this day, so that you may do what is pleasing in the sight of the Lord your God.

Other versions

King James Version

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

English Standard Version

if you obey the voice of the LORD your God, keeping all his commandments that I am commanding you today, and doing what is right in the sight of the LORD your God.

New International Version

because you obey the LORD your God, keeping all his commands that I am giving you today and doing what is right in his eyes.