This miracle produces fear in those who witness it, but this fear turns into a deep feeling of awe for His compassion and power. As a result, Christ's fame among the people grows, while the hatred of the Jewish leaders increases, as they reject His claims to be the Son of God.
However, His primary purpose is to glorify God. The people glorify God when they say, "A great prophet has risen up among us" and "God has visited His people." Christ is the Great Prophet of Israel (Deuteronomy 18:15; Luke 3:16; John 6:14). The tragedy in this situation is that, though a number of people look upon Jesus as the promised Prophet, few give Him much devotion.
In the original Greek, the word "visited" means "to oversee," as well as "to visit in mercy or in judgment." In this context, the meaning is that of favoring the people by sending this great Prophet, Jesus Christ, who blessed the people by raising one of them from the dead. In their praise, we see gratitude as they glorified God for favoring them with this great blessing.
Martin G. Collins
The Miracles of Jesus Christ: Raising a Widow's Son