“And your ears shall hear a word behind you saying, “This is the way walk you in it,” when you turn to the right or the left” (Isa 30:21; ESV).
In the New Testament we read, “If we live by the Spirit, let us also walk by the Spirit” Gal 5:25; ESV). Then in Galatians 5:16 (AMPC), “But I say, walk and live (habitually) in the (Holy) Spirit (responsive to and controlled and guided by the Spirit); then you will
certainly not gratify the cravings and desires of the flesh (of human nature without God).” Then verse 18 says, “But if you are guided (led) by the Holy Spirit, you are not subject to the law.” In other words, you won’t be led by rules and regulations. We know that Jesus of course was led by the Spirit. Immediately after He was baptized, He was led by the Spirit into the wilderness. The Holy Spirit helped Jesus just like He helps us - to protect us from falling into sin.
In Romans 8:4 The Amplified Classic Bible says we should be controlled by the desires of the Spirit and in the very next verse we are told how to do this, by setting our minds on and seeking “those things which gratify the Holy Spirit.” In other words, we need to be thinking about the Holy Spirit and be open to His guidance.
We have the same Holy Spirit that inhabited Jesus but how do we become sensitive to His voice? It is by spending time with God and getting to know Him on an ongoing basis that this sensitivity develops, making it easier to be led by the Spirit, which is simply following an inner prompting to do or not do something (Rom 8:16) and the still small voice of the Holy Spirit (1 Kings 19:11-12). It involves cutting out the distractions and being quiet. The more time we spend in fellowship with God the easier it is to know His voice.