1 John 3:19-4:6
By this we shall know that we are of the truth, and reassure our hearts before him whenever our hearts condemn us; for God is greater than our hearts, and he knows everything. Beloved, if our hearts do not condemn us, we have confidence before God; and we receive from him whatever we ask, because we keep his commandments and do what pleases him. 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. 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.
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. By this you know the Spirit of God: every spirit which confesses that Jesus Christ has come in the flesh is of God, 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. 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. They are of the world, therefore what they say is of the world, and the world listens to them. 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.