You may find this interesting, something I wrote some 20 years ago.
The Holy Spirit is spoken in connection with, or in reference to God, as where intimate union or oneness with the Father is predicated of, "The Spirit."
John 15:26, "The Spirit of truth, which proceeds from the Father." Where the same omniscience is predicated of,
1 Corinthians 2:10, "But God hath revealed them unto us by his Spirit: for the Spirit searches all things, yea, the deep things of God," with,
Verse 11, "Even so the things of God knows no man, but the Spirit of God."
Where the same things are predicated of which in other places are predicated of, as in Ananias and Sapphira are said to lie to the Holy Spirit, etc.
Acts 5:3, "Peter said, Ananias, why hath Satan filled thine heart to lie to the Holy Ghost," and so verse 9, "That ye agreed together to tempt the Spirit of the Lord?" Now compare verse 4, "Thou hast not lied unto men, but unto God."
As speaking through the prophets:
Acts 1:16, "this scripture must needs have been fulfilled, which the Holy Ghost by the mouth of David spake before concerning Judas, which was guide to them that took Jesus. " Compare with,
Acts 4:24, "And when they heard that, they lifted up their voice to God with one accord, and said, Lord, thou art God, which hast made heaven, and earth, and the sea, and all that in them is:”
Verse 25, "By the mouth of thy servant David hast said, why did the heathen rage, and the people imagine vain things?"
Compare Acts 3:21, "God hath spoken by the mouth of all his holy prophets since the world began" compare with, Hebrews 1:1, "God -- spake in time past unto the fathers by the prophets."
Compare, Acts 28:25, "Well spake the Holy Ghost by E-sa-ias (Isaiah)." Compare with, Isaiah 6:8, where the Hebrew is, "Also I heard the voice of the LORD," verse 11, "He (God) answered."
Hebrews 3:7, "The Holy Spirit saith, today if ye will hear his voice," compare with, Psalms 95:7, "To day if ye will hear His voice."
Hebrews 10:15, "Whereof the Holy Ghost also is a witness to us: for after that he (Holy Spirit) had said before," Verse 16, “This is the covenant that I will make with them after those days, saith the LORD, I will put my laws into their hearts, and in their minds will I write them.” Compare with, Jeremiah 31:31, "Behold, the days come, saith the LORD, that I will make a new covenant with the house of Israel, and with the house of Judah:”