Matthew 4
Then Jesus was led by the Spirit into the wilderness to be tempted by the devil. After fasting forty days and forty nights, He was hungry. The tempter came to Him and said, “If you are the Son of God, tell these stones to become bread.” Jesus answered, “It is written: ‘Man shall not live on bread alone, but on every word that comes from the mouth of God.’” Then the devil took Him to the holy city and had Him stand on the highest point of the temple. “If you are the Son of God,” he said, “throw yourself down. For it is written: ‘He will command His angels concerning you, and they will lift You up in their hands, so that You will not strike Your foot against a stone.’” Jesus answered him, “It is also written: ‘Do not put the Lord your God to the test.’” Again, the devil took Him to a very high mountain and showed Him all the kingdoms of the world and their splendor. “All this I will give you,” he said, “if you will bow down and worship me.” Jesus said to him, “Away from me, Satan! For it is written: ‘Worship the Lord your God, and serve Him only.’” Then the devil left Him, and angels came and attended Him.” Matthew 4:1-11 NIV
When you are tempted, follow what Jesus did and declare “it is written”. Follow that up with one of God’s promises in the area you are having trouble. These are spiritual battles, and God’s Word is our weapon (the sword of the Spirit) that we can use to fight. We live our lives to the fullest when we base everything on every Word that comes from the mouth of God. In order to have a victorious life and overcome temptation, sin, negative thoughts, etc., we need to use the Word of God properly. This means that we have to know the Word AND obey it. Be persistent in this area. The enemy will continue to tempt you, but our God always provides the answer, if we look where “it is written”.