Then Submit to Yahweh. Resist the devil, and he will flee from you.
Many times, I would be walking in faith and believing telling the world whom I serve and out of nowhere I would have these thoughts come and start trying to plant fear, defeat, rejection, doubt and so on. I found myself dwelling on those thoughts and the faith I had disappeared, and I knew it was the devil.
One day as I was reading, I came across James 4:7 and it became alive to me. Now every time a thought comes into my mind that is of the devil, I speak that scripture out loud. I submit my thoughts to the Father and once I do this, I resist the thoughts of the devil and he flees. I then read and confess Philippians 4: 8-9 over my mind.
Finally, brethren, whatever is true, whatever is honest, whatever is just, whatever pure, whatever lovely, whatever of good report, if there is any virtue, and if there is any praise, think on these things. And what things you learned and received and heard and saw in me, practice these things, and the Elohim of peace will be with you.