The Trinity doctrine teaches the Father is God, Jesus is God and the Holy Spirit is God and yet there are not three gods but one God. So when the challenge first arose to prove the Holy Spirit is God, Trinitarians had to find something in Scripture to support their erroneous belief. Acts 5:3-4 is the ONLY passage that could be found to make such a false argument.
Acts 5:3-4 “But Peter said, Ananias, why has Satan filled thine heart to lie to the Holy Spirit, and to keep back part of the price of the land? Whiles it remained, was it not thine own? and after it was sold, was it not in thine own power? why have you conceived this thing in thine heart? you have not lied unto men, but unto God.”
Since verse three says Ananias lied to the Holy Spirit and verse four says he had not lied to man but to God, it is claimed that the Holy Spirit is God. But this is eisegesis and what I call red fire engine logic. That is, fire engines are red, my car is red, therefore my car is a fire engine! Eisegesis is the process of misinterpreting a text or portion of text in such a way that it introduces one's own presuppositions, agendas, and or biases into and onto the text.
Peter said to lie to the Spirit of God is to lie to God Himself because it is His Spirit. My Spirit belongs to me in the same way as Paul reveals below. So if you lie to my spirit you have lied to me, not someone else! God's Spirit revealed to Peter that Ananias had lied and so he had not lied to man but to God as it was God Himself through His spirit that revealed the lie.
As Paul said, “no one knows the thoughts of God except the Spirit of God.” 1 Corinthians 2:11
Ananias lied to God's Spirit which was within Peter which is the same as lying to the Almighty God Himself as it is His Spirit.
“Peter asked, “Was it not thine own?” thus showing that no undue influence had been brought to bear upon Ananias and Sapphira to compel them to sacrifice their possessions to the general good. They had acted from choice. But in pretending to be wrought upon by the Holy Ghost, and attempting to deceive the apostles, they had lied to the ALMIGHTY.” — (E.G. White, 3SP 285.1)
“In giving us HIS SPIRIT, God gives us HIMSELF,” — (E.G. White, 7T 273.1, 1902)