When Jesus heard that John had been put in prison, he withdrew to Galilee.