In the book, "Loving God with All Your Mind" by Elizabeth George, it talks about thinking on God's truth. If we think on verses from the Bible and meditate on them, we have a way to overcome the thoughts that Satan puts in our minds. This is a powerful tool to overcoming depression, fear, etc.
The first chapter in the book talks about the verse, "Whatsoever things are true...think on these things." Phillipians 4:8 If we spend time thinking on things that are true (or real), we are not thinking on things that are untrue. Like when we think God can't forgive us. That is untrue. God forgives us. Or maybe we think that God doesn't know what we are going through. That is a lie. God knows what we are going through and he cares. It does not always seem that way. But if we think on the truth, it will help us see the lies.
I am trying to remember this verse and practice thinking on it. It is very hard for me. I have a hard time controlling my thoughts. It is hard work. But I will let you know how it is going.