Below are all ten times the Bible says that Jesus went alone into wilderness areas, like deserts and mountains, to commune with God. Even when the text says He took disciples with Him, there’s an implication that He often went alone.
I’ve arranged them in chronological order, and included three brief references at the end from the Book of Mormon:
Matt. 4:1-2, JST
Then was Jesus led up of the Spirit into the wilderness to be with God.
And when he had fasted forty days and forty nights, he was afterward an hungred.
And in the morning, rising up a great while before day, he went out, and departed into a solitary place, and there prayed.
And it came to pass in those days, that he went out into a mountain to pray, and continued all night in prayer to God.
When Jesus heard of it, he departed thence by ship into a desert place apart…
And when he had sent the multitudes away, he went up into a mountain apart to pray: and when the evening was come, he was there alone.
Jesus went unto the mount of Olives.
And early in the morning he came again into the temple, and all the people came unto him; and he sat down, and taught them.
And he came out, and went, as he was wont, to the mount of Olives; and his disciples also followed him.
Then cometh Jesus with them unto a place called Gethsemane, and saith unto the disciples, Sit ye here, while I go and pray yonder.
When Jesus had spoken these words, he went forth with his disciples over the brook Cedron, where was a garden, into the which he entered, and his disciples.
And Judas also, which betrayed him, knew the place: for Jesus ofttimes resorted thither with his disciples.
Then the eleven disciples went away into Galilee, into a mountain where Jesus had appointed them.
And when they saw him, they worshipped him: but some doubted.
3 Nephi 19:19, 27, 31
And it came to pass that Jesus departed out of the midst of them, and went a little way off from them and bowed himself to the earth, [and prayed….]
And he turned from them again, and went a little way off and bowed himself to the earth; and he prayed again unto the Father….
And it came to pass that he went again a little way off and prayed unto the Father…