It is from scripture that we learn what the will of God is, but changing the way that we think is an ongoing process.
Romans 12:2 And be not conformed to this world: but be ye transformed by the renewing of your mind, that ye may prove what is that good, and acceptable, and perfect, will of God.
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. 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 emphasis is not on receiving the Holy Spirit in the sense of a supernatural power to help us overcome sin, but on obeying the commandments by choice.
Luke 6:46 And why call ye me, Lord, Lord, and do not the things which I say?
John 15:14 Ye are my friends, if ye do whatsoever I command you.
James 1:22 But be ye doers of the word, and not hearers only, deceiving your own selves.
Those who had Holy Spirit gifts (powers of the world to come) in the 1st century could still fall away.
Hebrews 6:5 And have tasted the good word of God, and the powers of the world to come, 6 If they shall fall away, to renew them again unto repentance; seeing they crucify to themselves the Son of God afresh, and put him to an open shame.
Love is the principal thing if we would attain to life.
1 John 4:7 Beloved, let us love one another: for love is of God; and every one that loveth is born of God, and knoweth God.
1 John 5:2 By this we know that we love the children of God, when we love God, and keep his commandments.
We walk in love in the spirit; not in the power of the Spirit.
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:
1 Corinthians 13:13 And now abideth faith, hope, charity (love), these three; but the greatest of these is charity (love).
We worship God in spirit not in the power of the Spirit.
John 4:23 But the hour cometh, and now is, when the true worshippers shall worship the Father in spirit and in truth: for the Father seeketh such to worship him. 24 God is a Spirit: and they that worship him must worship him in spirit and in truth.
I hope you have found this helpful.
May God bless you,
Glenn