Deuteronomy 4:30

30 When you are in distress and all these things have happened to you, then in later days you will return to the LORD your God and obey him.

Read Deuteronomy 4:30 Using Other Translations

When thou art in tribulation, and all these things are come upon thee, even in the latter days, if thou turn to the LORD thy God, and shalt be obedient unto his voice;
When you are in tribulation, and all these things come upon you in the latter days, you will return to the LORD your God and obey his voice.
“In the distant future, when you are suffering all these things, you will finally return to the LORD your God and listen to what he tells you.