There is an interesting connection between these verses in John’s gospel and what we read in Luke 16.
Joh 5:45 Do not think that I will accuse you to the Father: there is one that accuseth you, even Moses, in whom ye trust.
Joh 5:46 For had ye believed Moses, ye would have believed me: for he wrote of me.
Joh 5:40 And ye will not come to me, that ye might have life.
At the end of parable about heaven and hell, Jesus adds these word. He was speaking directly the the leaders in Israel and it is so true that the vast majority of them…even to today never good the message.
When we get to chapter 6 John will reveal a bit more light on this process of coming to Jesus, see the hint below.
Luk 16:29 Abraham saith unto him, They have Moses and the prophets; let them hear them.
Luk 16:30 And he said, Nay, father Abraham: but if one went unto them from the dead, they will repent.
Luk 16:31 And he said unto him, If they hear not Moses and the prophets, neither will they be persuaded, though one rose from the dead.
Joh 6:36 But I said unto you, That ye also have seen me, and believe not.
Joh 6:37 All that the Father giveth me shall come to me; and him that cometh to me I will in no wise cast out.
Joh 6:38 For I came down from heaven, not to do mine own will, but the will of him that sent me.
Joh 6: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.
Joh 6:40 And this is the will of him that sent me, that every one which seeth the Son, and believeth on him, may have everlasting life: and I will raise him up at the last day.
Joh 6:41 The Jews then murmured at him, because he said, I am the bread which came down from heaven.
Joh 6:42 And they said, Is not this Jesus, the son of Joseph, whose father and mother we know? how is it then that he saith, I came down from heaven?
Joh 6:43 Jesus therefore answered and said unto them, Murmur not among yourselves.
Joh 6:65 And he said, Therefore said I unto you, that no man can come unto me, except it were given unto him of my Father.