Psalms 78:32-34

ASV(i) 32 For all this they sinned still,
And believed not in his wondrous works. 33 Therefore their days did he consume in vanity,
And their years in terror. 34 When he slew them, then they inquired after him;
And they returned and sought God earnestly.