1 John 4:1-3 NAS

Testing the Spirits

1 1Beloved, do not believe every 2spirit, but test the spirits to see whether they are from God, because 3many false prophets have gone out into the world.
2 By this you know the Spirit of God: 4every spirit that 5confesses that 6Jesus Christ has come in the flesh is from God;

References for 1 John 4:2

3 and every spirit that 7does not confess Jesus is not from God; this is the spirit of the 8antichrist, of which you have heard that it is coming, and 9now it is already in the world.

References for 1 John 4:3