Lying to the Holy Spirit is a matter of life and death. Acts 5:1-11 speaks about ownership and allegiance. Ananias and Sapphira lied to the Holy Spirit in claiming to be saved or sealed with the Holy Spirit, when they were not. Ananias and Sapphira deliberately gave their allegiance to the evil one.
The Holy Spirit dwells within all who receive and believe Jesus’ sacrifice of Himself. His Spirit is a spirit of oneness and unity. God cares about our relationship with Him and each other. In Ephesians 4:25-32 the writer urges God’s people, do not bring sorrow to the Holy Spirit.