He said this about the Spirit, which those who believed in him were going to receive; for the Spirit had not yet come, because Jesus had not yet been glorified.
In context
37On the last day of the festival, the great day, Jesus stood and cried out, “If anyone is thirsty, let him come to me and drink. 38Whoever believes in me — as the Scripture has said, rivers of living water will flow from deep within him.” 39He said this about the Spirit, which those who believed in him were going to receive; for the Spirit had not yet come, because Jesus had not yet been glorified. 40When they heard these words, some in the crowd said, “This really is the prophet.” 41Others said, “This is the Christ.” But others objected, “Surely the Christ does not come from Galilee?