Jesus is led by the Spirit "into temptation" in order that He might model for us how to resist temptation. He resists by the power of the Spirit and by the Word of God, which teaches to put God first and not to test Him. A good application of this would be for us to treasure God so highly that we flee temptation.