what does the bible say?
The Gospels describe times when Jesus went off alone. At the beginning of His ministry Jesus went into the wilderness for forty days and was tempted by the Devil (Matthew 4:1–11; Luke 4:1–13) and at the end of His ministry He prayed alone in the garden (Matthew 26:36–46; Mark 14:32–42; Luke 22:39–46). How do we know what happened during those times? It is likely that Jesus told His disciples about those times as He shared life with them. Matthew, John and Peter spent time with Jesus. Luke says he interviewed eyewitnesses to Jesus' life (Luke 1:1–4) to write his Gospel. Mark is believed to have gotten information for his Gospel from the apostle Peter. Additionally, Jesus appeared to the disciples after His resurrection over a period of forty days "speaking about the kingdom of God" (Acts 1:3). He very well could have answered questions they had about those times He was alone. All else can be attributed to the inspiration, guidance, and direction of the Holy Spirit. Even Jesus’ private moments were faithfully preserved in the Gospels for our benefit and God's glory.