Why did Jesus perform miracles? John 20: 30-31 "30 Jesus did many other miraculous signs in the presence of his disciples, which are not recorded in this book. 31 But these are written that you may believe that Jesus is the Christ, the Son of God, and that by believing you may have life in his name."
It may be hard for people to think about the miracles Jesus performed in terms of why He did them instead of what the miracles did. It is not what He could do but why He did it.