Deuteronomy 4:30 GNT

30 When you are in trouble and all those things happen to you, then you will finally turn to the Lord and obey him.