Deuteronomy 4:30

30 In your distress, when all these things have come upon you, in the acharit-hayamim, you will return to ADONAI your God and listen to what he says;

Deuteronomy 4:30 Meaning and Commentary

Deuteronomy 4:30

When thou art in tribulation
In a strange land, in the power of a foreign enemy, and used ill:

and all these things are come upon thee;
captivity, thraldom, hard labour, and want of the necessaries of life:

[even] in the latter days:
in their present captivity for the rejection of the Messiah:

if thou turn to the Lord thy God;
as the Jews will when they are converted and brought to a sense of their sin, and of their need of Christ, and seek to him as their Saviour, as they will do in the latter day, ( Hosea 3:5 ) ( 2 Corinthians 3:16 )

and shall be obedient unto his voice;
not of the law only, but of the Gospel also, proclaiming peace, pardon, righteousness, and salvation by him whom they have pierced.

Deuteronomy 4:30 In-Context

28 There you will serve gods which are the product of human hands, made of wood and stone, which can't see, hear, eat or smell.
29 However, from there you will seek ADONAI your God; and you will find him if you search after him with all your heart and being.
30 In your distress, when all these things have come upon you, in the acharit-hayamim, you will return to ADONAI your God and listen to what he says;
31 for ADONAI your God is a merciful God. He will not fail you, destroy you, or forget the covenant with your ancestors which he swore to them.
32 "Indeed, inquire about the past, before you were born: since the day God created human beings on the earth, from one end of heaven to the other, has there ever been anything as wonderful as this? Has anyone heard anything like it?
Complete Jewish Bible Copyright 1998 by David H. Stern. Published by Jewish New Testament Publications, Inc. All rights reserved. Used by permission.