Psalm 78:34 in the King James Version
When he slew them, then they sought him: and they returned and enquired early after God.
Context
33 Therefore he consumed their days in vanity, and their years in terror.
34 When he killed them, then they inquired after him. They returned and sought God earnestly.
35 They remembered that God was their rock, the Most High God, their redeemer.