Deuteronomy 4:29-31 - WEB
29
But from there you shall seek Yahweh your God, and you shall find him, when you search after him with all your heart and with all your soul.
30
When you are in oppression, and all these things are come on you, in the latter days you shall return to Yahweh your God, and listen to his voice:
31
for Yahweh your God is a merciful God; he will not fail you, neither destroy you, nor forget the covenant of your fathers which he swore to them.
Full Chapter