We are tempted through our lust when we don't have our sensual nature under control of the Spirit
1 John 2:16
16 For all that is in the world, the lust of the flesh, and the lust of the eyes, and the pride of life, is not of the Father, but is of the world.
Jesus overcame temptation by prayer and fasting
Mark 1:12-13
12At once the Spirit sent him out into the wilderness,
13and he was in the wilderness forty days, being tempted by Satan. He was with the wild animals, and angels attended him.
after Jesus prayed and fasted the temptor left him alone
Matthew 4:11 after Jesus fasted, the devil left him and angels came and ministered to him.