Deuteronomy 4:29

And when you will seek the Lord your God in that place, you shall find him, if only you seek him with all your heart, and in all the tribulation of your soul

Other versions

King James Version

But if from thence thou shalt seek the LORD thy God, thou shalt find him, if thou seek him with all thy heart and with all thy soul.

English Standard Version

But from there you will seek the LORD your God and you will find him, if you search after him with all your heart and with all your soul.

New International Version

But if from there you seek the LORD your God, you will find him if you look for him with all your heart and with all your soul.