Brother Joseph,
This battle is hard, I know. I’m also going through this and by God’s grace it’s towards our salvation and growth. God is forever faithful and He never abandons His children.
Isaiah 49 says:
15 “Can a mother forget the baby at her breast
and have no compassion on the child she has borne?
Though she may forget,
I will not forget you!
16 See, I have engraved you on the palms of my hands;
your walls are ever before me.
Beloved, Jesus died so we can rest in His work, not ours. That’s His grace, mercy and rest.
Hebrews 4 says:
9 There remains, then, a Sabbath-rest for the people of God; 10 for anyone who enters God’s rest also rests from their works just as God did from his.
And Romans 4 says:
4 Now to the one who works, wages are not credited as a gift but as an obligation. 5 However, to the one who does not work but trusts God who justifies the ungodly, their faith is credited as righteousness.
John 1 says:
12 But as many as received him, to them gave he power to become the sons of God, even to them that believe on his name:
13 Which were born, not of blood, nor of the will of the flesh, nor of the will of man, but of God.
The key is faith, which the Devil knows he can shake by getting you to think you keep your salvation by your ability to keep certains thoughts or sins from entering your mind.
But Scripture says in Romans 7:
14 We know that the law is spiritual; but I am unspiritual, sold as a slave to sin. 15 I do not understand what I do. For what I want to do I do not do, but what I hate I do. 16 And if I do what I do not want to do, I agree that the law is good. 17 As it is, it is no longer I myself who do it, but it is sin living in me. 18 For I know that good itself does not dwell in me, that is, in my sinful nature. For I have the desire to do what is good, but I cannot carry it out. 19 For I do not do the good I want to do, but the evil I do not want to do—this I keep on doing.
And again, Scripture reinforces in Romans 7:
20 Now if I do what I do not want to do, it is no longer I who do it, but it is sin living in me that does it.
The good news is:
Romans 7:24 What a wretched man I am! Who will rescue me from this body that is subject to death? 25 Thanks be to God, who delivers me through Jesus Christ our Lord!
Romans 8:1
8
There is therefore now no condemnation to those who are in Christ Jesus, who do not walk according to the flesh, but according to the Spirit.
May I encourage you to read all of Romans through, and if you also have the time to take the Romans pilgrimage with Derek Prince:
Grace and peace from our Lord Jesus Christ, brother!