1 John 4:1 says, Beloved, believe not every spirit, but try the spirits whether they are of God: because many false prophets are gone out into the world. John tells us that there are many false spirits in the world and people who would lead us to believe in them. Anytime we are led to do something that opposes what God's word teaches us, we are led by a false spirit. I believe that this can be either a spirit of desire that lives in us or a false spirit found in the world and proclaimed by some individual under the leadership of a false spirit.
Verse two adds, Hereby know ye the Spirit of God: Every spirit that confesseth that Jesus Christ is come in the flesh is of God: John then tells us how to know that we are led by the Holy Spirit and not a false spirit. He said that we can know this if we confess that Jesus came in the flesh and was sent by God to be the Redeemer of all. Of course, we must confess that Jesus Christ is not only a Man sent from God but is Himself God. Also, even though He died for everyone, we must personally accept Him as our Savior and Lord.
Verse three continues, And every spirit that confesseth not that Jesus Christ is come in the flesh is not of God: and this is that spirit of antichrist, whereof ye have heard that it should come; and even now already is it in the world. The opposite is also true. If anyone doesn't acknowledge Jesus Christ came in the flesh as their personal Savior and Lord, they are not of God, but of the antichrist. He added that people had heard that the antichrist was to come and that he was already in the world. As long as we put our faith in Jesus Christ, we don't have to worry about the antichrist.
Verse four states, Ye are of God, little children, and have overcome them: because greater is he that is in you, than he that is in the world. John then referred to those he was writing to as little children and said they had overcome the world because the Holy Spirit that lived in them is greater than anything in the world. As followers of Christ, we aren't secure spiritually because of anything we have done, but we are spiritually secure because of what Jesus did. He paid the penalty for our sins, once and forever.
Verse five adds, They are of the world: therefore speak they of the world, and the world heareth them. John said that those who were of the world and not of God spoke of things of the world and the unsaved people of the world heard them and believed them. We as Christians may hear unsaved people talk, but we should never believe them if what they are saying opposes the word of God.
Verse six continues, We are of God: he that knoweth God heareth us; he that is not of God heareth not us. Hereby know we the spirit of truth, and the spirit of error. John added that if we are of God that those who are also of God will hear us. He then said that those who were not of God would not hear us. I believe this means hearing and understanding what we speak about God. He concluded by saying this is the way we know the Spirit of Truth and the spirit of error.