(But this spake he of the Spirit, which they that believe on him should receive: for the Holy Ghost was not yet given; because that Jesus was not yet glorified.)
He talked about the Spirit, which those who trust in him would get. The Holy Spirit hadn't been given yet because Jesus wasn't glorified yet.