When Jesus heard that John had been arrested, he left Judea and returned to Galilee.
For Herod had arrested and imprisoned John as a favor to his wife Herodias( the former wife of Herod’s brother Philip).
For Herod had sent soldiers to arrest and imprison John as a favor to Herodias. She had been his brother Philip’s wife, but Herod had married her.
When Herod Antipas, the ruler of Galilee, heard about everything Jesus was doing, he was puzzled. Some were saying that John the Baptist had been raised from the dead.Others thought Jesus was Elijah or one of the other prophets risen from the dead.“ I beheaded John,” Herod said,“ so who is this man about whom I hear such stories?” And he kept trying to see him.
John also publicly criticized Herod Antipas, the ruler of Galilee, for marrying Herodias, his brother’s wife, and for many other wrongs he had done.So Herod put John in prison, adding this sin to his many others.