Luke 13:31

The same day there came certain of the Pharisees, saying unto him, Get thee out, and depart hence: for Herod will kill thee.

On the same day Jesus taught about the strait gate and the shut door, warning that many seeking to enter would be shut out and thrust out while others from the east and west and north and south would come and sit down in the kingdom of God, certain hearers answered with the warning to leave. The warning was brought by certain Pharisees, also described as scribes and Pharisees, who urged Him to get out and depart from that place on the ground that Herod intended to kill Him. They spoke from amazement and offense because they had been given great light and regarded themselves as first and the only pious people, and their aim was to get rid of Him by intimidating Him into leaving.

The warning stands immediately before His answer directing them to tell Herod that He would keep casting out demons and doing cures today and tomorrow and reach His goal on the third day. He added that He must continue His course today and tomorrow and the day following because a prophet cannot perish outside Jerusalem.