No. Not necessarily. Satan used to convince me all of the time that to be tempted was sin. I got wise to him and one day said: no, it is you who is sinning! I would begin to fume over something done or said to me, and if I fell into the muttering and murdering thoughts about how I was treated, yes, I was sinning, I believe. But if I resisted him and cried to God that my feet were slipping, He would take me out of it and fill me with love for the person instead of hate.
james 4:7 "Submit yourselves therefore to God. Resist the devil, and he will flee from you."
He will always deliver if we do it His way