Deuteronomy 30:20

New American Standard Bible (NASB)
by loving the Lord your God, by obeying His voice, and by holding fast to Him; for [x]this is your life and the length of your days, [y]that you may live in the land which the Lord swore to your fathers, to Abraham, Isaac, and Jacob, to give them.”

Read Deuteronomy 30:20 in other translations