before jesus began his earthly ministry, he was tempted by satan in the wilderness(mattthew 4:11)having withstood satan, jesus can help us resist the devil and temptation that come from him(hebrew 4:15,16
Our Compassionate High Priest
Hebrews 4:14-16 Seeing then that we have a great High Priest who has passed through the heavens, Jesus the Son of God, let us hold fast our confession.
For we do not have a High Priest who cannot sympathize with our weaknesses, but was in all points tempted as we are, yet without sin. Let us therefore come boldly to the throne of grace, that we may obtain mercy and find grace to help in time of need.
There is a two-fold temptation to sin, inward and outward; inwardly Christ was not tempted to sin, outwardly he was. We have the added temptation to sin coming from the flesh. Adam (male and female) were tempted only outwardly just as Jesus was.
His mind, or human soul, being free from all sin, being every way perfect, could feel no irregular temper, nothing that was inconsistent with infinite purity. In all these respects he was different from us; and cannot, as man, sympathize with us in any feelings of this kind: but, as God, he has provided support for the body under all its trials and infirmities, and for the soul he has provided an atonement and purifying sacrifice; so that he cleanses the heart from all unrighteousness, and fills the soul with his Holy Spirit, and makes it his own temple and continual habitation. He took our flesh and blood, a human body and a human soul, and lived a human life. Here was the likeness of sinful flesh, Ro 8:5; and by assuming human nature, he was completely qualified to make an atonement for the sins of the world.
His abiding gives us the mind of Christ.
Romans 12
1I beseech you therefore, brethren, by the mercies of God, that ye present your bodies a living sacrifice, holy, acceptable unto God, which is your reasonable service.
2And be not conformed to this world: but be ye transformed by the renewing of your mind, that ye may prove what is that good, and acceptable, and perfect, will of God. 3For I say, through the grace given unto me, to every man that is among you, not to think of himself more highly than he ought to think; but to think soberly, according as God hath dealt to every man the measure of faith.