Deuteronomy 4:29-31

CLV(i) 29 Yet from there you will seek Yahweh your Elohim and find Him when you inquire for Him with all your heart and with all your soul. 30 In your distress, when all these things find you in the latter days, then you will return to Yahweh your Elohim and hearken to His voice. 31 For Yahweh your Elohim is a compassionate El. He shall neither neglect you nor bring ruin on you, nor shall He forget the covenant of your fathers about which He had sworn to them.