The Arminian attempts to deny that giving is the contextual cause for coming to Christ in verse 37 but the grammatical facts repudiate his view. "give" is found in the present tense in verse 37 while "shall come" is future tense so the action of the present tense not only precedes the action of the future tense but it is the act of giving that is the stated cause for coming to Christ and this is proven in verses 38-39.
Jesus claims that his incarnation or coming into the world was to fulfill a specifically stated will of the Father that had been revealed unto him. That will was that none shall be lost whom he had "given" (perfect tense) which grammatically means the act of giving preceded the act of incarnation or else the statement by Christ makes no sense. So, obviously if the act of giving preceded the incarnation it had to proceed the act of coming to Christ by faith in all who had been given to Christ prior to the incarnation.
So, we know that none had been given to the Son that would not come to the Son (v. 37) and would not be saved by the Son (vv. 38-39). Since, those in verse 36 did not come to the son, they were not part "of all" that were given to the Son.Indeed, this discourse on giving by the Father to come to Christ by faith is in response to their refusal to come to him in spite of their claim they could believe on him IF he showed MORE miracles than they already witnessed. Simply put, coming to him in faith is not a capability of man, but it is the result of God's work, first in giving a people to the son to come to him and which "of all " given will come and none be lost. Therefore, those in verse 36 are not part of those in verse 40 or part of the "whosoever will believe." The "whosoever will believe" are previously defined and restricted to "of all" those given to the son (vv. 37-39). So, it is "not whosoever will" that is the cause but the consequence of having been given to the Son prior to the incarnation. Hence, it is the work of God that is the cause of "whosoever will believe" in the act of giving that precedes coming. Jesus places this beyond dispute when he says "no man can come" so no such ability resides in man. Where does it come from? It comes only from the work of God - first in giving so that they may come which is inclusive of drawing.
None come but those given - vv. 36-40 and "all" come who are given.
None come but those drawn - v. 44 and these are "all" who are taught of God under the NEW COVENANT (v. 45) , and "all" taught within that framework do come proving they have been given to Christ. So "him" drawn equals "him" raised as no other kind of person can be found in the texts - none but the covenant elect who had been chosen to be given to come to the son.