"Jesus answered, “If thou knewest the gift of God, and who it is that saith to thee, Give Me to drink; thou wouldst have asked of Him, and He would have given thee living water.... Whosoever drinketh of this water shall thirst again: 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.” GW 194.4"
"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."
The EGW passage directly quotes John 4:14.
"Jesus answered and said unto her, If thou knewest the gift of God, and who it is that saith to thee, Give me to drink; thou wouldest have asked of him, and he would have given thee living water."
The EGW passage directly quotes John 4:10, making it a clear and explicit allusion.
"Jesus answered and said unto her, Whosoever drinketh of this water shall thirst again:"
The EGW passage directly quotes John 4:13, making it a clear and explicit allusion.