Prayer for Deliverance from Impure Thoughts

Lord and Master, my God, my destiny is in Your hands. Save me Yourself by Your Mercy, do not let me finally fall and perish in my sins, and do not allow me to submit to the cravings and passions of the body, which defile and profane my soul. For I am Your creation and child, do not forget the work of Your Hands, do not turn away from me, have mercy upon me, that it may not be bitter and shameful for me because of my deeds; do not abandon nor leave me, O Lord, for I am imperfect and powerless, and therefore I flee to You, my Protector and Guardian, my God and Savior, and I beg: cleanse and heal my soul, for I have sinned and am guilty before You.
Save and have mercy on me by Your grace, for You have cared for me since the moment of conception, childhood, and my youth. May those who wish and strive to draw me away from You through sinful deeds, indecent thoughts, sinful recollections be ashamed. Remove from me every debauchery and corruption, hateful vices and faults. For only You alone are Holy, alone Strong, alone Immortal. You possess incomparable omnipotence and wisdom in all things; from You all strength, knowledge and reason to resist the devil and his warriors are given. And to You belongs all glory, honor and worship—Father, Son, and Holy Spirit, now, and ever, and unto ages of ages. Amen.
Source: kyrios.org.ua