In many passages, which refer to the Holy Spirit, He is referred to as if God were being referred to. Luke 1:34-35; Acts 5:3-4; I Corinthians 2:3-4; II Corinthians 3:17-18; Psalm 139:7
The Holy Spirit is often spoken of as equal with God.
A. Matthew 28:19
B. I Corinthians 12:4-6; II Corinthians 13:14; I Peter 1:1-2
The Holy Spirit shares the attributes of God.
A. Omnipotence Luke 1:34-35
B. Omniscience John 16:13
C. Omnipresence Psalm 139:7-9
Genesis 1:1-2; John 14:26; etc.