Colossians 1:21 "And you, who once were alienated and enemies in your mind by wicked (pain inducing) works, yet now He has reconciled 22 in the body of His flesh through death, to present you holy, and blameless, and above reproach in His sight— 23 if indeed you continue in the faith, grounded and steadfast, and are not moved away from the hope of the gospel which you heard, which was preached to every creature under heaven, of which I, Paul, became a minister."
How did Jesus do it? How did he reconcile our brokenness with His perfection? He became one of us. He experienced the temptations of greed, lust, self worship etc... He put Himself in our place. The Bible calls Him the second Adam. Where Adam failed Jesus succeeded. Adam felt he must disobey God. He couldn't see any other way forward.
That is what temptation is like. It blinds us to everything but the immediate. Whatever has grabbed our attention in the here and now becomes like an itch that must be scratched. The desire overwhelms and like a task master it must be obeyed.
When Jesus was tempted in the wilderness he faced more powerful desires to disobey than Adam ever faced and he resisted every one. Jesus had His eyes on the future, not the present, and that is the great difference. He also had His eye on others rather than Himself. That is the other great difference. Giving in would have been beneficial for Jesus in the short term but devastating for Himself and others in the long term.
Like the intoxication of a husband and father having an affair it is "beneficial" for him in the short term but devastating for his whole family and friends in the long term. Sin is short term gain for long term pain. Faithfulness to God is short term pain for long term gain. I've seen the devastation affairs have caused both short and long term. Sin is destructive no matter who you are or what your beliefs are.
Jesus said if any one wants to follow Him they must take up the cross of self denial. The government of God is one of self sacrifice while the government of Satan is one of narcissism - complete slavery to the big ME.
Any middle ground is an illusion and any grasping at happiness on the road of self worship is fleeting and elusive. When we put others first everyone wins and the positive effects multiply over time.
Jesus denied Himself completely every time and then offers that perfection to us...