Jesus heard that John was cast into prison and that the Pharisees had heard that Jesus had made and baptized many…