The ability to sin is only the attribute of a person who is wholly human but Jesus is not a human person but a divine person who took on human nature ( Hebrews 2:14, John 1:1,14).
Jesus is called "the Last Adam" ( 1 Cor. 15:45) because there would be no second, third or forth adams (in case he fails). The fact is that he will not fail in his mission because he is unable to fail for he is not only human but also God by nature ( Colossians 2:9).
THE TEMPTATION OF CHRIST
Premise 1: Temptation means “the desire to do evil.”
Premise 2: Satan tempted Jesus. This means “ Satan is causing Jesus to desire evil.”
Premise 3: Was Jesus tempted? Based on the definition of “Temptation,” the answer is NO.
Conclusion: Jesus did not have the desire to do evil.He cannot desire it for he is not only human by nature but also God by nature which means he is impeccable (i.e. unable to sin).
Consider this:
Psalms 78:18 And THEY TEMPTED GOD in their heart by asking meat for their lust.
It does not mean that God desired evil but rather, the people did try to let him to desire it.