Deuteronomy 30:20

and so that you may love the Lord your God, and obey his voice, and cling to him, (for he is your life and the length of your days) and so that you may live in the land, about which the Lord swore to your fathers, Abraham, Isaac, and Jacob, that he would give it to them.

Other versions

King James Version

That thou mayest love the LORD thy God, and that thou mayest obey his voice, and that thou mayest cleave unto him: for he is thy life, and the length of thy days: that thou mayest dwell in the land which the LORD sware unto thy fathers, to Abraham, to Isaac, and to Jacob, to give them.

English Standard Version

loving the LORD your God, obeying his voice and holding fast to him, for he is your life and length of days, that you may dwell in the land that the LORD swore to your fathers, to Abraham, to Isaac, and to Jacob, to give them."

New International Version

and that you may love the LORD your God, listen to his voice, and hold fast to him. For the LORD is your life, and he will give you many years in the land he swore to give to your fathers, Abraham, Isaac and Jacob.