I will teach the unjust your ways, and the impious will be converted to you
Other versions
King James Version
And call upon me in the day of trouble: I will deliver thee, and thou shalt glorify me.English Standard Version
and call upon me in the day of trouble; I will deliver you, and you shall glorify me."New International Version
and call upon me in the day of trouble; I will deliver you, and you will honor me."