“For who among men knows the thoughts of a man except the man's spirit within him? In the same way no one knows the thoughts of God except the Spirit of God.” 1 Corinthians 2:11
Here the spirit of man is likened to the Spirit of God. Just as a man has a spirit, God also has a Spirit in the same manner, and His Spirit is the part of Him associated with His thoughts and emotions the same as a man. Ephesians 4:30 says the Holy Spirit is “the holy Spirit of God” and to grieve not His Spirit. So just as the spirit of man can be grieved so can God's. If I told you that I was grieving in my spirit, would you think my spirit was a separate person? Obviously not. And Paul stated it is no different with God and His Spirit in this respect. God's Spirit belongs to God, just as my spirit belongs to me.
So as Paul said, the Spirit of God knows the thoughts of God because it is His Holy Spirit and hence has His mind, will and emotions just like man. And of course Paul also revealed in Romans 11:34 given above that the mind and spirit are correlated. He further shows this relationship in Ephesians 4:23 where he said “be renewed in the spirit of your mind.” This is Biblical exegesis but to say the Holy Spirit has mind, will and emotions so therefore must be a literal and separate being is an unbiblical assumption and eisegesis. Paul in 1 Corinthians 2:11 shows the difference is that man's spirit is within him but does not say this about God's Spirit as God can send His Spirit anywhere. There is also no Scripture that says the Holy Spirit is God.
And not Acts 5:3-4 as claimed which says to lie to the Holy Spirit is to lie to the almighty God as it is His Spirit. It does NOT say the Holy Spirit is a god.
“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)