After the miracle of feeding five thousand with five loaves of bread and two fishes . Jesus asked his disciples to take a boat to the other side of the lake while he dispersed a multitude. He then went to pray, by the time he finished they were far away, he started walking on water his disciples thought he was a ghost. It was a miracle.
In this book, Jesus tested the faith of Simon by asking him to come to him and walk on water.