Evil spirits tried to tempt Jesus twice. The first time it happened was after Jesus had spent 40 days fasting in the wilderness. He felt hungry and they came to persuade Him but Jesus used the word of God to combat against the evil Spirits and won all three temptations. The second time evil Spirits tempted Jesus was His last hour on the cross. The urge to 'come down of the cross for us to believe' was a temptation in disguise. Evil Spirits also tempted Jesus to disobey the Father and He would be better off if He pursued His own free will. At the tree of knowledge evil Spirits employed the serpent to tempt Adam and Eve to disobey God and they got what they wanted. At the tree of the cross the evil Spirit employed the high Priests and Scribes and the soldiers and the criminal to persuade Jesus to disobey the Father. Jesus didn't respond to their challenge but when one of the criminals turned to Him asking for pardon Jesus promised the thief that he will enter paradise with Him.
Prior to the arrest in the garden of Gethsemane Jesus prayed that God's will be done, not His own free will. Obeying God's will Jesus will go through suffering and dead and three days after will be raised again. Following God's will is following the way of life and eternal life in glory. On the cross Jesus has demonstrated His everlasting and fidelity to the Father to His last breath.