1 John 3:19-4:6Revised Standard Version (RSV)
19 By this we shall know that we are of the truth, and reassure our hearts before him 20 whenever our hearts condemn us; for God is greater than our hearts, and he knows everything. 21 Beloved, if our hearts do not condemn us, we have confidence before God; 22 and we receive from him whatever we ask, because we keep his commandments and do what pleases him. 23 And this is his commandment, that we should believe in the name of his Son Jesus Christ and love one another, just as he has commanded us. 24 All who keep his commandments abide in him, and he in them. And by this we know that he abides in us, by the Spirit which he has given us.
Testing the Spirits
4 Beloved, do not believe every spirit, but test the spirits to see whether they are of God; for many false prophets have gone out into the world. 2 By this you know the Spirit of God: every spirit which confesses that Jesus Christ has come in the flesh is of God, 3 and every spirit which does not confess Jesus is not of God. This is the spirit of antichrist, of which you heard that it was coming, and now it is in the world already. 4 Little children, you are of God, and have overcome them; for he who is in you is greater than he who is in the world. 5 They are of the world, therefore what they say is of the world, and the world listens to them. 6 We are of God. Whoever knows God listens to us, and he who is not of God does not listen to us. By this we know the spirit of truth and the spirit of error.