Chapter 6 of John, has more than one verse in it. And on the exact same page and exact same chapter of John Christ also said
John 6:40
For my Father’s will is that everyone who looks to the Son and believes in him shall have eternal life, and I will raise them up at the last day.”
John 6:47
Very truly I tell you, the one who believes has eternal life.
John 6:29
Jesus answered, “The work of God is this: to believe in the one he has sent.”
John 6:63
The Spirit gives life; the flesh counts for nothing. The words I have spoken to you—they are full of the Spirit and life.