Peter learned this first hand.
Matthew 14:22-33
Jesus Christ Walks on the Water
"22 Immediately He [a]made the disciples get into the boat and go ahead of Him to the other side, while He sent the crowds away. 23 After He had sent the crowds away, He went up on the mountain by Himself to pray; and when it was evening, He was there alone. 24 But the boat was already [b]a long distance from the land, [c]battered by the waves; for the wind was [d]contrary. 25 And in the [e]fourth watch of the night He came to them, walking on the sea. 26 When the disciples saw Him walking on the sea, they were terrified, and said, “It is a ghost!” And they cried out [f]in fear. 27 But immediately Jesus spoke to them, saying, “Take courage, it is I; do not be afraid.”
28 Peter said to Him, “Lord, if it is You, command me to come to You on the water.” 29 And He said, “Come!” And Peter got out of the boat, and walked on the water and came toward Jesus. 30 But seeing the wind, he became frightened, and beginning to sink, he cried out, “Lord, save me!” 31 Immediately Jesus stretched out His hand and took hold of him, and *said to him, “You of little faith, why did you doubt?” 32 When they got into the boat, the wind stopped. 33 And those who were in the boat worshiped Him, saying, “You are certainly God’s Son!”