Deuteronomy 30:10

but only if you will listen to the voice of the Lord your God, and keep his precepts and ceremonies, which have been written in this law, and only if you return to the Lord your God with all your heart and with all your soul

Other versions

King James Version

If thou shalt hearken unto the voice of the LORD thy God, to keep his commandments and his statutes which are written in this book of the law, and if thou turn unto the LORD thy God with all thine heart, and with all thy soul.

English Standard Version

when you obey the voice of the LORD your God, to keep his commandments and his statutes that are written in this Book of the Law, when you turn to the LORD your God with all your heart and with all your soul.

New International Version

if you obey the LORD your God and keep his commands and decrees that are written in this Book of the Law and turn to the LORD your God with all your heart and with all your soul. The Offer of Life or Death