The Lord dwells within us, he strengthens us at all times, those moments of temptation and great trials, and we must thank God for that strength that he provides us.
We never know when temptation will come into our lives, it comes when we least expect it, that is why we must always be prepared so that we can resist at any time it comes.
Our Lord was greatly tempted by the enemy, the enemy looked for different ways to make him fall, but the Master was able to defeat him because the Spirit of God lived in Him. This gives us a great teaching, is that we must be in the Spirit to perceive these things that come into our lives.