This is again the second sign that Jesus did, having come out of Judea into Galilee.
The Gospel must be preached to the Samaritans: this is God's purpose; and in this case, the wrath of man is caused to praise him.