Deuteronomy 4:29-31 AMPC
But if from there you will seek (inquire for and require as necessity) the Lord your God, you will find Him if you [truly] seek Him with all your heart [and mind] and soul and life.
When you are in tribulation and all these things come upon you, in the latter days you will turn to the Lord your God and be obedient to His voice.
For the Lord your God is a merciful God; He will not fail you or destroy you or forget the covenant of your fathers, which He swore to them.
AMPC: Amplified Bible, Classic Edition