1 John 3:19-24
19 And by this we know that we are of the truth, and shall assure our hearts before Him. 20 For if our heart condemns us, God is greater than our heart, and knows all things. 21 Beloved, if our heart does not condemn us, we have confidence toward God. 22 And whatever we ask we receive from Him, because we keep His commandments and do those things that are pleasing in His sight. 23 And this is His commandment: that we should believe on the name of His Son Jesus Christ and love one another, as He gave us commandment.
The Spirit of Truth and the Spirit of Error
24 Now he who keeps His commandments abides in Him, and He in him. And by this we know that He abides in us, by the Spirit whom He has given us.