Deuteronomy 4:30
4:30 In your distress when all these things happen to you in the latter days, if you return to the Lord your God and obey him
Deuteronomy 32:20
32:20 He said, “I will reject them,
I will see what will happen to them;
for they are a perverse generation,
children who show no loyalty.