2 Samuel 15:30
27 The king said to Zadok the priest, “Are you a seer? Go back to the city in peace! Your son Ahimaaz and Abiathar’s son Jonathan may go with you and Abiathar. 28 Look, I will be waiting at the fords of the desert until word from you reaches me.” 29 So Zadok and Abiathar took the ark of God back to Jerusalem and remained there. 30 As David was going up the Mount of Olives, he was weeping as he went; his head was covered and his feet were bare. All the people who were with him also had their heads covered and were weeping as they went up. 31 Now David had been told, “Ahithophel has sided with the conspirators who are with Absalom.” So David prayed, “Make the advice of Ahithophel foolish, O Lord.” 32 When David reached the summit, where he used to worship God, Hushai the Arkite met him with his clothes torn and dirt on his head.
Matthew 26:37
36 Then Jesus went with them to a place called Gethsemane, and he said to the disciples, “Sit here while I go over there and pray.” 37 He took with him Peter and the two sons of Zebedee, and he became anguished and distressed. 38 Then he said to them, “My soul is deeply grieved, even to the point of death. Remain here and stay awake with me.” 39 Going a little farther, he threw himself down with his face to the ground and prayed, “My Father, if possible, let this cup pass from me! Yet not what I will, but what you will.” 40 Then he came to the disciples and found them sleeping. He said to Peter, “So, couldn’t you stay awake with me for one hour? 41 Stay awake and pray that you will not fall into temptation. The spirit is willing, but the flesh is weak.”
Notes and References
"... If Jesus resembles the lawgiver, he also resembles the greatest of Israel's kings, David. The David typology is much less prominent than the Moses typology, but there is no doubting its presence. Matthew 26:30 informs us that when the Last Supper was over, Jesus and his disciples sang 'the hymn' and went out to the Mount of Olives. The geographical notice takes us back to 2 Samuel 15:30, where David, who is being plotted against by his royal counselor, Ahithophel, leaves Jerusalem and goes up 'the ascent of the Mount of Olives.' There the king weeps and prays for deliverance (15:31) just as Jesus does in Gethsamene." ..."
Allison, Dale C. "The Embodiment of God's Will" in Gaventa, Beverly Roberts, and Richard B. Hays (eds.) Seeking the Identity of Jesus: A Pilgrimage (pp. 117-132) William B. Eerdmans Publishing Company, 2008