The miracles recounted above were against temporal dangers; here he mentions ones against spiritual dangers. He does two things: first, he shows how he helps those who come to him; secondly, how he searches out those he heals (v. 35).
In regard to the first: first, he presents the remedy against sin; secondly, against death (v. 18).
In regard to the first: first, he presents the remedy against sin by forgiving; secondly, by drawing sinners to himself (v. 10).
And first he draws the background to the favor; secondly, he mentions the favor itself (v. 4b).
First, the place is mentioned; secon...dly, the devotion of those presenting (v. 2).
He says, therefore, And getting into a boat, he crossed over. This is connected with the preceding, because they begged him to leave; consequently, he entered a boat. Hence he gives to understand that if some say, "Depart from us, we do not desire the way of your commandments" (Jb 21:14), he departs at once. So, he gets into a boat. This boat signifies the Cross or the Church. He came to his own city, i.e., into the city of the pagans who had been given to him: "Ask of me and I will make the nations your heritage" (Ps 2:8). But why do Mark and Luke say that this was done in Capernaum, but Matthew says Nazareth, which was his city. The answer is that one city was Christ's by reason of birth, and this was Bethlehem; another by reason of upbringing, and this was Nazareth; another by reason of habitation and of working miracles, and this was Capernaum. Therefore, it is well said, into his own city. Hence Luke (4:23): "The things we have heard done in Capernaum, do also here in your own country." Augustine answers another way: Because Capernaum was the most famous city in Galilee, it was a kind of metropolis. And just as if someone were from a suburb of Paris, it would be said that he was from Paris on account of its being well-known, so the Lord, being from the boundaries of Capernaum, was said to be from there. Or, in another way, because the evangelists omit something; hence something can be added, namely, that he passed through Nazareth and came to Capernaum. Then it was that they offered him.
Source: Commentary on Matthew