In the Easter story, Jesus prays in the Garden of Gethsemane before he is about to be betrayed by Judas and arrested, brought to trial, and shortly thereafter, crucified.
All three synoptic gospels (Matthew, Mark, Luke) record that when Jesus was in Gethsemane, he prayed,
Father, if you are willing …