Although Herod wanted to kill John, he was afraid of the people, because they regarded John as a prophet.
5. And though he wished to put him to death. There is some appearance of contradiction between the words of Matthew and Mark: for the former says that Herod was desirous to commit this shocking murder, but was restrained by the fear of the people; while the latter charges Herodias alone with this cruelty. But the difficulty is soon removed.
We have here the story of John's martyrdom. Observe, I. The occasion of relating this story here, Mat 14:1, Mat 14:2. Here is, 1. The account brought to Herod of the miracles which Christ wrought. Herod the tetrarch or chief governor of Galilee heard of the fame of Jesus.
Commenting on Matthew 14:1-12
And when he would have put him to death,.... As soon as he apprehended him, and put him into prison; being provoked by his reproving him, and being stirred up by Herodias, who was greatly incensed and enraged, and would have killed him herself, but could not, being hindered by Herod: who, though he had a good will and strong inclination to take away his...