Try reading the whole thought, jn6:37-44..
Also All the Father gives shall come, and Him that comes, are not two different groups, but they are one and the same.
39 And this is the Father's will which hath sent me, that of all which he hath given me I should lose nothing, but should raise it up again at the last day.
I would suggest that you extend that reading from Joh 6:35 - Joh 6:47.
Joh 6:35 Jesus said to them, "I am the bread of life.
Whoever comes to me will never be hungry, and
whoever believes in me will never be thirsty.
Joh 6:47 Very truly, I tell you,
whoever believes has eternal life.
But we should ask, who are the ones that believe in the Son? We find that answer here:
Joh 6:38 "For I have come down from heaven,
not to do My own will,
but the will of Him who sent Me.
Joh 6:39 "
This is the will of Him who sent Me,
that of all that He has given Me I lose nothing, but raise it up on the last day.
Joh 6:40 "
For this is the will of My Father,
that everyone who beholds the Son and believes in Him will have eternal life, and I Myself will raise him up on the last day."
Christ Jesus came to do the will of God the Father and that will was to save all those that would believe in Him. Certain persons are not selected and then given to Jesus in order to become believers, as some assert, but rather people are given to Jesus because they are already believers.