2 By this you may have knowledge of the Spirit of God: every spirit which says that Jesus Christ has come in the flesh is of God: 3 And every spirit which does not say this is not from God: this is the spirit of Antichrist, of which you have had word; and it is in the world even now.
4 You are of God, my little children, and you have overcome them because he who is in you is greater than he who is in the world. 5 They are of the world, so their talk is the world's talk, and the world gives ear to them. 6 We are of God: he who has the knowledge of God gives ear to us; he who is not of God does not give ear to us. By this we may see which is the true spirit, and which is the spirit of error.
Matthew Henry's Commentary on 1 John 4:2-6
Commentary on 1 John 4:1-6
(Read 1 John 4:1-6)
Christians who are well acquainted with the Scriptures, may, in humble dependence on Divine teaching, discern those who set forth doctrines according to the apostles, and those who contradict them. The sum of revealed religion is in the doctrine concerning Christ, his person and office. The false teachers spake of the world according to its maxims and tastes, so as not to offend carnal men. The world approved them, they made rapid progress, and had many followers such as themselves; the world will love its own, and its own will love it. The true doctrine as to the Saviour's person, as leading men from the world to God, is a mark of the spirit of truth in opposition to the spirit of error. The more pure and holy any doctrine is, the more likely to be of God; nor can we by any other rules try the spirits whether they are of God or not. And what wonder is it, that people of a worldly spirit should cleave to those who are like themselves, and suit their schemes and discourses to their corrupt taste?