Psalms 50:15 (KJV)

And call upon me in the day of trouble: I will deliver thee, and thou shalt glorify me.