LYING TO THE SPIRIT. “Then Peter said, ‘Ananias, why has Satan filled your heart to lie to the Holy Spirit and keep back part of the proceeds from the field?’” (Acts 5:3). Here lying is deceiving. Foolish is the person who thinks he can deceive God.
I, the LORD, examine the mind, I test the heart to give to each according to his way, according to what his actions deserve (Jeremiah 17:10).
As for you, Solomon my son, know the God of your father, and serve Him with a whole heart and a willing mind, for the LORD searches every heart and understands the intention of every thought. If you seek Him, He will be found by you, but if you forsake Him, He will reject you forever (1 Chronicles 28:9; cf. 1 Kings 11:9-43).
Now God has revealed them to us by the Spirit, for the Spirit searches everything, even the deep things of God (1 Corinthians 2:10).
The lie of Ananias is repeated, if we say, “I surrender all,” but are not speaking truthfully. If we think we can cheat God, we may end up cheating ourselves of long life. Since the Holy Spirit has been given us to guide us into truth (John 15:13), lying is resisting the Spirit.
RESISTING THE SPIRIT. “You stiff-necked people with uncircumcised hearts and ears! You are always resisting the Holy Spirit; as your forefathers did, so do you” (Acts 7:51). The Greek verb antipiptw (antipipto), translated “resist,” is a very strong expression, which denotes opposing, striving or falling against the Holy Spirit. Here the free will of man is evident. In this verse, the Jews are resisting in their hearts the Gospel message preached by Stephen. Through his message, the Holy Spirit has pierced their hearts to the point they covered their ears and yelled at the top of their voices to drown out the Truth. They are unsaved and against being saved.