Deuteronomy 6:18

18 Do what is right and good in the LORD ’s sight, so all will go well with you. Then you will enter and occupy the good land that the LORD swore to give your ancestors.

Deuteronomy 6:18 Meaning and Commentary

Deuteronomy 6:18

And thou shalt do that which is right and good in the sight of
the Lord
And what is such appears from the declaration of his mind and will in the commandments he has given, and obeying which is therefore doing what is right and good; for his commandment is holy, just, and good, being agreeable both to his nature and will, ( Romans 7:12 ) that it may be well with thee; as it is with those that fear God, and keep his commandments:

and that thou mayest go in and possess the good land which the Lord
sware unto thy fathers;
to give to them and to their posterity, even the land of Canaan; but if they did not what was right and good in the sight of God, they might expect to be kept out of it, as their immediate parents were, whose carcasses fell in the wilderness.

Deuteronomy 6:18 In-Context

16 You must not test the LORD your God as you did when you complained at Massah.
17 You must diligently obey the commands of the LORD your God—all the laws and decrees he has given you.
18 Do what is right and good in the LORD ’s sight, so all will go well with you. Then you will enter and occupy the good land that the LORD swore to give your ancestors.
19 You will drive out all the enemies living in the land, just as the LORD said you would.
20 “In the future your children will ask you, ‘What is the meaning of these laws, decrees, and regulations that the LORD our God has commanded us to obey?’
Holy Bible. New Living Translation copyright© 1996, 2004, 2007, 2013 by Tyndale House Foundation. Used by permission of Tyndale House Publishers Inc., Carol Stream, Illinois 60188. All rights reserved.