Matthew 14:25-31 King James Version (KJV)
25 And in the fourth watch of the night Jesus went unto them, walking on the sea.
26 And when the disciples saw him walking on the sea, they were troubled, saying, It is a spirit; and they cried out for fear.
27 But straightway Jesus spake unto them, saying, Be of good cheer; it is I; be not afraid.
28 And Peter answered him and said, Lord, if it be thou, bid me come unto thee on the water.
29 And he said, Come. And when Peter was come down out of the ship, he walked on the water, to go to Jesus.
30 But when he saw the wind boisterous, he was afraid; and beginning to sink, he cried, saying, Lord, save me.
31 And immediately Jesus stretched forth his hand, and caught him, and said unto him, O thou of little faith, wherefore didst thou doubt?
Matthew 14:25-31 New International Version (NIV)
25 Shortly before dawn Jesus went out to them, walking on the lake. 26 When the disciples saw him walking on the lake, they were terrified. “It’s a ghost,” they said, and cried out in fear.
27 But Jesus immediately said to them: “Take courage! It is I. Don’t be afraid.”
28 “Lord, if it’s you,” Peter replied, “tell me to come to you on the water.”
29 “Come,” he said.
Then Peter got down out of the boat, walked on the water and came toward Jesus. 30 But when he saw the wind, he was afraid and, beginning to sink, cried out, “Lord, save me!”
31 Immediately Jesus reached out his hand and caught him. “You of little faith,” he said, “why did you doubt?”