Answer
Jesus is not the Holy Spirit.
Explanation
It is true that Jesus said if He didn’t go away, the Holy Spirit wouldn’t come.
Why?
It is because the Holy Spirit proceeds from the Father through Christ.
“but to us there is one God, the Father, of whom are all things,
and we for Him, and one Lord Jesus Christ, through whom are
all things, and we by Him “ (1 Cor 8:6).
But, Jesus is not the Holy Spirit because He talks about the Spirit as distinct from Him.
"for if I do not go away, the Comforter will not come to you. But if I
go, I will send Him to you" (John 16:7).
Jesus and Holy Spirit together on Earth
Though the Holy Spirit couldn’t be given during Jesus’ Incarnation, the Spirit given before His Incarnation was very much active on earth when Jesus was here on earth.
For example, when Jesus was a physical baby carried to the Temple, there was a saintly man named Simeon. “the Holy Spirit was on him” (Luke 2:25).
“When Mary and Joseph brought Jesus to the temple to do what the
Law of Moses says should be done for a new baby, the Spirit told
Simeon to go into the temple” (Luke 2:27; CEV).
There it is, we see both Jesus and the Holy Spirit very much active “together” at the same spot at the same time!
This proves that Jesus Christ is not the Holy Spirit.
The Spirit With
The Holy Spirit can be with anyone; even with evil people!
For instance, the Scripture projects Balaam of the Old Testament as an unrighteous man (2 Pet 2:15).
Yet the Scripture says that the Holy Spirit was on him:
“And Balaam lifted up his eyes and saw Israel camping, by its tribes.
And the Spirit of God was on him (Num 24:2).
The Spirit can be on even non-animate things!
“and darkness on the face of the deep, and the Spirit of God
moving gently on the face of the waters” (Gen 1:2).
The Spirit `In’
However, the Holy Spirit is given in a person who is called by God to be His child.
“the love of God has been poured out in our hearts through the
Holy Spirit given to us” (Rom 5:5).
“When you believed in the Messiah, you were sealed with the promised
Holy Spirit, who is the guarantee of our inheritance” (Eph 1:13-14).
“who has placed his seal on us and has given us the Spirit in our
hearts as a down payment” (2 Cor 1:22).
“Do you not know that you are God's temple and that God's Spirit
dwells in you?” (1 Cor 3:16).
Conclusion
Jesus and the Holy Spirit are not the same individual.