On the Thursday before he died Jesus ate the Passover with his disciples. He washed their feet to show he came to serve them; he told them of the new covenant that was being made by His blood, and told of how he would save them. He even told us to remember him by breaking bread and taking wine as the 'communion' was begun. Jesus told his disciples that he was going to be betrayed by one of them sat with him. He even took Peter, James and John into the garden with him, where he prayed so hard that God would take this cup but 'Not my will but yours'. There's so much to take in from the last night of Jesus' life.
However I want to concentrate on what happened possibly a day before, or even in the morning of that day, and look at how God was fully in control of the whole situation. Look at the 'Your will' that Jesus prays.
In Zechariah 11:11-13 we see a conversation between God and Zechariah. Zechariah has been asked to shepherd the 'flock marked for slaughter' and the flock have detested him for his guidance and care, so he breaks the staff of favour and asks to have what they think he is worth. This is how Jesus came. He came to shepherd the flock of Israel and yet they detested him. When he is near the end of his shepherding physically on earth he is betrayed for 30 pieces of silver. The price in Mosaic law for a servant that is gored by an ox. A tiny price for the damaged goods that Jesus was viewed as when he was pieced on the cross.
Matthew 26:14-16 shows how Judas played this out. We can also see in Isaiah 53:11 the fact that is was divinely organised that Jesus would be betrayed and die on the cross: Yet it was the Lordís will to crush him and cause him to suffer, and though the Lord makes his life an offering for sin, he will see his offspring and prolong his days, and the will of the Lord will prosper in his hand.
Jesus knew what was approaching; he knew the pain that he was about to suffer the following day; he knew the betrayal he would face, the denial, the rejection. He knew that because of the sin he was about to take upon himself he would come to a point where God the Father would be completely separated from him. He did all this for us, so that if we come to him, we will be saved from the separation we were supposed to face. Jesus knew God's will and did it. We too should pray 'Not my will but yours!'