I was doing some research on John 4 and ancient cities as part of a paper. I used the atlas tool and other resources. . It says Jesus had some necessity to travel through Samaria. It is noted that the all Jews avoided Samaria since they considered the Samaritans as hypocritical and not clean. Nestle-Aland 28th edition: John 4:4 Ἔδει δὲ αὐτὸν διέρχεσθαι διὰ τῆς Σαμαρείας. What kind of necessity is involved here?
"It was the custom of the Galileans, when they came to the holy city at the festivals, to take their journeys through the country of the Samaritans"
Flavius Josephus and William Whiston, The Works of Josephus: Complete and Unabridged (Peabody: Hendrickson, 1987).