The Catechism in Questions & Answers

141. Why did Jesus perform miracles?

Jesus performed miracles in order to demonstrate the Almighty and Loving God’s merciful devotion to suffering mankind in Him. These miracles reveal the glory of the Son of God and His divine authority.