Orthodox Prayer of Thanksgiving after Deliverance from Trouble

Almighty and merciful God, I most humbly and heartily thank Thy divine majesty for Thy loving kindness and tender mercies, that Thou hast heard my humble prayer and graciously vouchsafed to deliver me from my trouble and misery.

Grant me, I beseech Thee, Thy helping grace, that I may obediently walk in Thy holy commandments and lead a sober, righteous and godly life, ever remembering Thy mercies and the blessings that Thou hast undeservedly bestowed upon me; that I may continually offer to Thee the sacrifice of praise and thanksgiving, O Father, Son and Holy Spirit. Amen.