I have a question that a lot of people don’t know how to answer but I’m pretty sure you do, can the devil get into your mind or more precisely put thoughts into your mind? people get the idea that this is possible because of what Christ said.
Luke 4:8 And Jesus answered and said unto him, Get thee behind me, Satan: for it is written, Thou shalt worship the Lord thy God, and him only shalt thou serve.
The Bible also records, in the Matthew and Mark gospels, how Jesus rebuked Peter with the same words at his suggestion that Jesus would not be raised from the dead.
Matthew 16:23. But he turned, and said unto Peter, Get thee behind me, Satan: thou art an offence unto me: for thou savourest not the things that be of God, but those that be of men.
Where in the Bible does it indicate this being possible?
One really clear place is in Ephesians 4:26-27 where Paul tells us that letting the sun go down on our anger can give the devil a foot hold. Because our minds are subject to our sin nature the devil has access to us through our thoughts. That’s why sin doesn’t occur with the origination of a thought but in the acceptance and consideration of it.
Failing to forgive someone immediately creates an opportunity for Satan to influence our thoughts as we dwell on the reason for our anger and think of ways to get even. We begin to justify our position making it harder to forgive. The devil has gained a foot hold in our minds. At that point, the Lord said, it’s as bad as if we’d murdered the person. (Matt. 5:21-22)
James 1:14-15 explains it this way.
Each one is tempted when, by his own evil desire, he is dragged away and enticed. Then, after desire has conceived, it gives birth to sin; and sin, when it is full-grown, gives birth to death.