After the two days he left for Galilee.

“the two days” are those that He spent with the Samaritans John 4:40. He then resumed His journey to Galilee which He had started in John 4:3.

John 4:40  So when the Samaritans came to him, they urged him to stay with them, and he stayed two days.

John 4:3  When the Lord learned of this, he left Judea and went back once more to Galilee.