If you carefully keep this whole commandment I am giving you to do, loving Yahweh your God, walking in all his ways, and holding fast to him,
In context
20Write them on the doorframes of your house and on your gates, 21so that your days and the days of your children may be many in the land Yahweh swore to your fathers to give them, as many as the days the heavens are above the earth. 22If you carefully keep this whole commandment I am giving you to do, loving Yahweh your God, walking in all his ways, and holding fast to him, 23then Yahweh will drive out all these nations before you, and you will dispossess nations greater and stronger than yourselves. 24Every place the sole of your foot treads will be yours. Your territory will extend from the wilderness to Lebanon, and from the river — the river Euphrates — to the western sea.