2 John 1:6, 9
6 Love means doing what God has commanded us, and he has commanded us to love one another, just as you heard from the beginning.
9 Anyone who wanders away from this teaching has no relationship with God. But anyone who remains in the teaching of Christ has a relationship with both the Father and the Son.
To walk with Jesus Christ and our Heavenly Father you must abide in the doctrine (teachings) of our Lord Jesus. You can’t live the way you want to and walk in close fellowship with God. As a great man of God Dr. Roy Hicks said, “God loves everyone the same, but He does not fellowship with everyone the same.”
Jesus provided for us a way back to the Father so we could once again have fellowship with Him and get to know Him. Coming to God’s Word and learning His ways is how we get to know God for He and His Word are one. This is how we fulfill His commandment of love for Jesus declared in John 14:21 that if we love Him we will keep His commandments, thus fulfilling what He has taught us through His Word.
The great apostle Smith Wigglesworth said, “I can’t understand God by feelings. I can’t understand the Lord Jesus Christ by feelings. I can only understand God the Father and Jesus Christ by what the Word says about them. God is everything the Word says He is. We need to get acquainted with Him through the Word.” Jesus taught us how to walk with Him and the Father. If we will follow His teachings you will walk in fellowship with the Father and with His Son Jesus Christ.