He needed to pass through Samaria.
we know what we worship; for salvation is of the Jews. But the hour is coming, and even now is, when the true worshippers shall worship the Father in spirit and in truth: for the Father is seeking such to worship him. For God is a Spirit: and they that worship him must worship him in spirit and in truth ( John 4:22-24 ).