Matthew 8:17 continues the account Jesus casting out demons.
“This happened so that what was spoken through Isaiah the prophet would be fulfilled: ‘HE HIMSELF TOOK OUR ILLNESSES AND CARRIED AWAY OUR DISEASES.‘”
Matthew points to this evening, along with all the other healing Jesus did during His ministry on earth, as the fulfillment of a specific prophecy found in Isaiah 53:4. Matthew quotes that verse in this way, “He took our illnesses and bore our diseases.” Matthew’s primary audience for this gospel is the nation of Israel. Points such as this are meant to tell Jewish people, in particular, that Jesus truly is the Messiah. Other portions of Isaiah chapter 53 describe the suffering Messiah would experience as part of His ministry (Isaiah 53:5; 1 Peter 2:24; Mark 10:33).
In His eager willingness to heal all in Israel who were sick and to cast out their demons, Jesus demonstrated the compassionate nature of God and showed that He came to serve Israel, even as her King.
Jesus came to serve. To heal. To give glory to the Father. That was part of the reason He came.
We, as a reflection of Him, should come to serve, to heal others with our words, our actions, our reactions. We are here to give glory to the Father.