yet He told those He healed, and His own disciples, not to reveal Who He is or what He had done - - but told the woman at the well plainly He is the Messiah, and affirmed to Pilate the same: both of them gentiles. and of the centurion whose daughter He raised from the dead - another gentile - He said, He had found no greater faith in all of Israel.
we can't pretend He did not minister to gentiles. He in fact revealed Himself to them while He hid Himself from the Jews He ministered to, and this is exactly what Paul explains to us in, for example, Romans 9-10
Joh 4:3 He left Judaea, and departed again into Galilee.
Joh 4:4 And he must needs go through Samaria.
Joh 4:9 Then saith the woman of Samaria unto him, How is it that thou, being a Jew, askest drink of me, which am a woman of Samaria? for the Jews have no dealings with the Samaritans.
Joh 4:14 But whosoever drinketh of the water that I shall give him shall never thirst; but the water that I shall give him shall be in him a well of water springing up into everlasting life.
Joh 4:22 Ye worship ye know not what: we know what we worship: for salvation is of the Jews.
Joh 4:23 But the hour cometh, and now is, when the true worshippers shall worship the Father in spirit and in truth: for the Father seeketh such to worship him.
Joh 4:24 God is a Spirit: and they that worship him must worship him in spirit and in truth.
Joh 4:25 The woman saith unto him, I know that Messias cometh, which is called Christ: when he is come, he will tell us all things.
Joh 4:26 Jesus saith unto her, I that speak unto thee am he.
Joh 4:27 And upon this came his disciples, and marvelled that he talked with the woman: yet no man said, What seekest thou? or, Why talkest thou with her?
Jesus had to go through Samaria and by chance ran in to the woman.
He did not go there to specifically encounter her or anyone else.
Which is why the disciples marvelled that he talked with the woman.
Mat 8:5 And when Jesus was entered into Capernaum, there came unto him a centurion, beseeching him,
Mat 8:6 And saying, Lord, my servant lieth at home sick of the palsy, grievously tormented.
Mat 8:7 And Jesus saith unto him, I will come and heal him.
Jesus was not going to meet this man but the man came to Him asking for help.
Mat 8:28 And when he was come to the other side into the country of the Gergesenes, there met him two possessed with devils, coming out of the tombs, exceeding fierce, so that no man might pass by that way.
Mat 8:29 And, behold, they cried out, saying, What have we to do with thee, Jesus, thou Son of God? art thou come hither to torment us before the time?
Mat 8:30 And there was a good way off from them an herd of many swine feeding.
Mat 8:31 So the devils besought him, saying, If thou cast us out, suffer us to go away into the herd of swine.
Jesus ran in to them while He travelled not that He had a specific journey to encounter them.
Mat 15:21 Then Jesus went thence, and departed into the coasts of Tyre and Sidon.
Mat 15:22 And, behold, a woman of Canaan came out of the same coasts, and cried unto him, saying, Have mercy on me, O Lord, thou Son of David; my daughter is grievously vexed with a devil.
Mat 15:23 But he answered her not a word. And his disciples came and besought him, saying, Send her away; for she crieth after us.
Mat 15:24 But he answered and said, I am not sent but unto the lost sheep of the house of Israel.
Mat 15:25 Then came she and worshipped him, saying, Lord, help me.
Mat 15:26 But he answered and said, It is not meet to take the children's bread, and to cast it to dogs.
Mat 15:27 And she said, Truth, Lord: yet the dogs eat of the crumbs which fall from their masters' table.
Mat 15:28 Then Jesus answered and said unto her, O woman, great is thy faith: be it unto thee even as thou wilt. And her daughter was made whole from that very hour.
Jesus did not have a specific mission to encounter her but she approached Him.
He said He was only sent to Israel but she persisted so Jesus healed her daughter.
Mat 15:29 And Jesus departed from thence, and came nigh unto the sea of Galilee; and went up into a mountain, and sat down there.
Mat 15:30 And great multitudes came unto him, having with them those that were lame, blind, dumb, maimed, and many others, and cast them down at Jesus' feet; and he healed them:
Mat 15:31 Insomuch that the multitude wondered, when they saw the dumb to speak, the maimed to be whole, the lame to walk, and the blind to see: and they glorified the God of Israel.
Again the Gentiles came to Him.
Joh 12:20 And there were certain Greeks among them that came up to worship at the feast:
Joh 12:21 The same came therefore to Philip, which was of Bethsaida of Galilee, and desired him, saying, Sir, we would see Jesus.
Joh 12:22 Philip cometh and telleth Andrew: and again Andrew and Philip tell Jesus.
Again the Gentiles inquired of Jesus.
Jesus was only sent to the lost sheep of Israel and only deal with them like He told the woman at the well.
And did not specifically seek out them.
But He would encounter Gentiles while He travelled and if they approached Him wanting a blessing from Him then He would not turn them away because Jesus is still the Messiah of all.
Like God dealt with the nation of Israel and the word of God, commandments, covenant, and blessings were given to them.
But if the Gentiles approached unto that covenant God said they can take hold of that covenant and be blessed.
So Jesus ministered unto the Gentiles if they came to Him which is by way of a physical blessing.
But He did not minister unto them by speaking to them like He did the Jews concerning the truth.
With the exception of the woman at the well which He might of done that to get the word spread for they were half Jewish being an isolated incident with her.
And also they believed in the Messiah to come like the Jews did.
But all other encounters where they came to Him He did not speak of the things He told the Jews.