We believe we have heard from God and therefore we do that which God has said to do.
Thus our righteousness is by faith and because we have faith, we also have works, for faith without works is dead.
James 2
God speaks to us by His Spirit who brings to our minds thoughts. Or God gives us a dream. Or God might give us an instruction by an angel speaking to us, sometimes in the night as we sleep.
By faith, in believing it was God who spoke to us, we follow HIM.
Ephesians 3:20 Now unto HIM that is able to do exceeding abundantly above all that we ask or think, according to the power that worketh in us,
The power that works in us is the Holy Spirit of God WHO carries messages to us showing us the will of God in the issues of this present life.
Incredibly miraculous things happen in our lives as we follow the Spirit of God.
*****
The Holy Spirit is the Spirit of truth. As we follow HIM, we go in truth of God.
The devil is a liar and there is no truth in him. So if we follow the thoughts brought by devils, we follow lies.
God leads us by HIS Spirit while the devil will bring thoughts to drive us to do something, usually thoughts filled with fear.
The Holy Spirit is also the comforter, bringing us comfort in the way we are thinking.
Romans 8:14 For as many as are led by the Spirit of God, they are the sons of God.
*****