Ephesians 4:30 And grieve not the holy Spirit of God, whereby ye are sealed unto the day of redemption.
This is not to be confused with Holy Spirit gifts. Holy Spirit gifts were supernatural powers given by the laying on of the apostles’ hands. The gifts varied and not all received them. Holy Spirit gifts are not necessary for salvation.
Those who believe and obey the Gospel receive the Holy Spirit (without supernatural powers) through the word of God.
Jesus told Nicodemas:
John 3:5 …Verily, verily, I say unto thee, Except a man be born of water and of the Spirit, he cannot enter into the kingdom of God.
We are born of water when we are baptised by immersion in water for the forgiveness of past sins.
After baptism we must live a new life.
Romans 6:4 Therefore we are buried with him by baptism into death: that like as Christ was raised up from the dead by the glory of the Father, even so we also should walk in newness of life.
The new life is to be lived by Christ’s commandments.
John 15:14 Ye are my friends, if ye do whatsoever I command you.
Christ’s commandments are spirit.
John 6:63 …the words that I speak unto you, they are spirit, and they are life.
Christ’s commandments are the word of God and are found in the scriptures.
John 14:24 ...the word which ye hear is not mine, but the Father’s which sent me.
By obeying the word of God, we are born of the Spirit
1 Peter 1:23 Being born again, not of corruptible seed, but of incorruptible, by the word of God, which liveth and abideth for ever.
By obeying the word of God, we ‘walk in the Spirit’.
Galatians 5:16 This I say then, Walk in the Spirit, and ye shall not fulfil the lust of the flesh.
If we walk in the Spirit, the Spirit of God lives in us.
Romans 8:5-14 For they that are after the flesh do mind the things of the flesh; but they that are after the Spirit the things of the Spirit. 6 For to be carnally minded is death; but to be spiritually minded is life and peace. 7 Because the carnal mind is enmity against God: for it is not subject to the law of God, neither indeed can be. 8 So then they that are in the flesh cannot please God. 9 But ye are not in the flesh, but in the Spirit, if so be that the Spirit of God dwell in you. Now if any man have not the Spirit of Christ, he is none of his. 10 And if Christ be in you, the body is dead because of sin; but the Spirit is life because of righteousness. 11 But if the Spirit of him that raised up Jesus from the dead dwell in you, he that raised up Christ from the dead shall also quicken your mortal bodies by his Spirit that dwelleth in you. 12 Therefore, brethren, we are debtors, not to the flesh, to live after the flesh. 13 For if ye live after the flesh, ye shall die: but if ye through the Spirit do mortify the deeds of the body, ye shall live. 14 For as many as are led by the Spirit of God, they are the sons of God.
To be born of water takes but a moment, but to be born of the Spirit is a process which begins with baptism.
The works of the flesh are contrasted with the fruit of the Spirit.
Galatians 5:19-25 Now the works of the flesh are manifest, which are these; Adultery, fornication, uncleanness, lasciviousness, 20 Idolatry, witchcraft, hatred, variance, emulations, wrath, strife, seditions, heresies, 21 Envyings, murders, drunkenness, revellings, and such like: of the which I tell you before, as I have also told you in time past, that they which do such things shall not inherit the kingdom of God. 22 But the fruit of the Spirit is love, joy, peace, longsuffering, gentleness, goodness, faith, 23 Meekness, temperance: against such there is no law. 24 And they that are Christ’s have crucified the flesh with the affections and lusts. 25 If we live in the Spirit, let us also walk in the Spirit.
2 Peter 1:5-11 And beside this, giving all diligence, add to your faith virtue; and to virtue knowledge; 6 And to knowledge temperance; and to temperance patience; and to patience godliness; 7 And to godliness brotherly kindness; and to brotherly kindness charity (love). 8 For if these things be in you, and abound, they make you that ye shall neither be barren nor unfruitful in the knowledge of our Lord Jesus Christ. 9 But he that lacketh these things is blind, and cannot see afar off, and hath forgotten that he was purged from his old sins. 10 Wherefore the rather, brethren, give diligence to make your calling and election sure: for if ye do these things, ye shall never fall: 11 For so an entrance shall be ministered unto you abundantly into the everlasting kingdom of our Lord and Saviour Jesus Christ.
The Spirit of God acts through our conscience.
Hebrews 9:14 How much more shall the blood of Christ, who through the eternal Spirit offered himself without spot to God, purge your conscience from dead works to serve the living God?
2 Corinthians 1:12 For our rejoicing is this, the testimony of our conscience, that in simplicity and godly sincerity, not with fleshly wisdom, but by the grace of God, we have had our conversation in the world, and more abundantly to you-ward.
If by our actions our conscience grieved, we can be sure that the Spirit of God is grieved also.
1 John 3:20 For if our heart condemn us, God is greater than our heart, and knoweth all things. 21 Beloved, if our heart condemn us not, then have we confidence toward God.
Acts 24:16 And herein do I exercise myself, to have always a conscience void of offence toward God, and toward men.
1 Timothy 1:5 Now the end of the commandment is charity (love) out of a pure heart, and of a good conscience, and of faith unfeigned:
I hope you find this helpful.