The question of, what is the purpose of these miracles is an interesting one. I can imagine that there could be a number of purposes for miracles.
I think that one purpose of miracles was to prove to people the relationship between Jesus and God. During those bible times it would probably be considered blasphemous if anyone came out saying that they were God or had any close relationship with God. I think people back then and even people now would have a hard time believing that without having some evidence. Especially Jesus’ disciples, how would they be able to follow him and go preach the word if they didn’t believe that he was the Son of God. And I feel like Jesus performing these miracles was that evidence. Also, I think a purpose of these miracles, related to proving who Jesus was, is to create faith. Like I said earlier it was probably hard for people to believe Jesus in those times without some type of evidence. Those miracles being the evidence, gave Jesus his credibility. And him being credible would start to have the people believe in him and producing faith in Jesus.
One bible verse that I think helps shows that is in Mark 5:19-20, where it’s after Jesus saves a man that was being possessed by a demon and he as talking to the man that had been possessed. It says, “ “Go home to your friends, and tell them what great things the Lord has done for you, and how He has had compassion on you”. And he departed and began to proclaim in Decapolis all that Jesus had done for him; and all marveled.” I think these verses shows how Jesus did something out of the ordinary for someone and that person started to believe in him and told others about him.
I think another purpose of miracles was to show how to word was real. Jesus had a message he was preaching and the miracles gave them some credit. And not just the message coming from Jesus, the message of some before Jesus like John the Baptist. I think the miracles were like a testimony to those who didn’t believe in the word. In Mark 16:20 it kind of explains this. It says, “And they went out and preached everywhere, the Lord working with them and confirming the word through the accompanying signs. Amen” I think this shows how a main goal of Jesus was to go out and preach, and I think the miracles helped people be receptive of the word.