1 John 3:8 He that commits sin is of the devil; for the devil sins from the beginning. For this purpose the Son of God was manifested, that he might destroy the works of the devil.
This one thing we know, if the devil attacks us, we are not prisoners without hope. We can be set free by having faith in God and believing we can be free by His mighty power.