John 20
21 Then said Jesus to them again, Peace be unto you: as my Father hath sent me, even so send I you.
22 And when he had said this, he breathed on them, and saith unto them, Receive ye the Holy Ghost:
This was after the resurrection but before Pentecost. Hope this clarifies thAt part.
Lots of people ' recieved ' the Holy Spirit in the OT also for a purpose and a task . But it would leave. it would come UPON them but not indwell them . So its not clear that they recieved the Holy Spirit the way we do today .
Jesus says this to the diciples .
John 16
7Nevertheless I tell you the truth; It is expedient for you that I go away: for if I go not away, the Comforter will not come unto you; but if I depart, I will send him unto you.
This is saying the Holy Spirit can not come until Jesus ascends .
Then we go to Acts 1 .
4¶And, being assembled together with
them, commanded them that they should not depart from Jerusalem, but wait for the promise of the Father, which,
saith he, ye have heard of me.
5For John truly baptized with water; but ye shall be
baptised with the Holy Ghost not many days hence.
8But ye shall receive power, after that the Holy Ghost is come upon you: and ye shall be witnesses unto me both in Jerusalem, and in all Judaea, and in Samaria, and unto the uttermost part of the earth.
Then the ascension.
9¶And when he had spoken these things, while they beheld, he was taken up; and a cloud received him out of their sight.
Ok then we go to Acts 2 for the big day when the Holy Spirit is given .
1¶And when the day of Pentecost was fully come, they were all with one accord in one place.
2And suddenly there came a sound from heaven as of a rushing mighty wind, and it filled all the house where they were sitting.
3And there appeared unto them cloven tongues like as of fire, and it sat upon each of them.
4And they were all filled with the Holy Ghost, and began to speak with other tongues, as the Spirit gave them utterance.
Jews recieve the Holy Spirit .
then in Acts 11 Gentiles recieve the Holy Spirit 10 years after Acts 2 .
1¶And the apostles and brethren that were in Judaea heard that the Gentiles had also received the word of God.
15And as I began to speak, the Holy Ghost fell on them, as on us at the beginning.
16Then remembered I the word of the Lord, how that he said, John indeed baptized with water; but ye shall be baptized with the Holy Ghost.
17Forasmuch then as God gave them the like gift as
he did unto us, who believed on the Lord Jesus Christ; what was I, that I could withstand God?
18¶When they heard these things, they held their peace, and glorified God, saying, Then hath God also to the Gentiles granted repentance unto life.
This is when we come in . NOW all recieve the Holy Spirit, through believing the Gospel.
Eph 1 .12-13 . sealed by the Holy Spirit until the day of redemption.
That's why you have to be careful getting doctrines from the book of Acts .