In Gethsemane Jesus tells his three chosen disciples to pray that they not fall into temptation - but they fall asleep, even after he tries to wake them up. What he was doing in the garden, therefore, was taking on the forces that would drag them away from the truth, and from his teachings and love for them, after he left thm. The forces arrayed against them were so severe, Jesus sweated blood in taking them on. He was trying to help the three not fall in the future, when they would represent him to the world, until he returned.
Yes in the Garden he saw what was going to happen to him, his church his disciples and God’s creation and it dismayed him so that he sweated blood from every pore and requested that if possible, God remove this future. But the Bible speaks not at all about Satan tempting him.
Satan’s role in the crucifixion had to do with the deceit and betrayal of Jesus by Judas