John 7:37-39

37 On the last day of the feast, the great day, Jesus stood up and proclaimed, "If any one thirst, let him come to me and drink.
38 He who believes in me, as the scripture has said, 'Out of his heart shall flow rivers of living water.'"
39 Now this he said about the Spirit, which those who believed in him were to receive; for as yet the Spirit had not been given, because Jesus was not yet glorified.

John 7:37-39 In-Context

35 The Jews said to one another, "Where does this man intend to go that we shall not find him? Does he intend to go to the Dispersion among the Greeks and teach the Greeks?
36 What does he mean by saying, 'You will seek me and you will not find me,' and, 'Where I am you cannot come'?"
37 On the last day of the feast, the great day, Jesus stood up and proclaimed, "If any one thirst, let him come to me and drink.
38 He who believes in me, as the scripture has said, 'Out of his heart shall flow rivers of living water.'"
39 Now this he said about the Spirit, which those who believed in him were to receive; for as yet the Spirit had not been given, because Jesus was not yet glorified.
40 When they heard these words, some of the people said, "This is really the prophet."
41 Others said, "This is the Christ." But some said, "Is the Christ to come from Galilee?
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.