Watch and pray that you may not enter into temptation. The spirit indeed is willing, but the flesh is weak.
Being tempted is not sin. How we respond to the temptation can be. 1 Corinthians 10:13 says that with each temptation God provides a way of escape. It is up to us to take it.