Passage
Beloved, every spirit believe not, but prove the spirits, if of God they are, because many false prophets have gone forth to the world;
Beloved, every spirit believe not, but prove the spirits, if of God they are, because many false prophets have gone forth to the world;
1 John 4:1 Beloved, every spirit believe not, but prove the spirits, if of God they are, because many false prophets have gone forth to the world;
1 John 4:2 in this know ye the Spirit of God; every spirit that doth confess Jesus Christ in the flesh having come, of God it is,
1 John 4:3 and every spirit that doth not confess Jesus Christ in the flesh having come, of God it is not; and this is that of the antichrist, which ye heard that it doth come, and now in the world it is already.
The verse centers on "Spirit", "world", "beloved", "believe", "prove", "spirits", "false", and "prophets". It is saying that the verse draws attention to "Spirit" and "world", so its meaning should be read from those terms before moving to application.
The next verse adds "in this know ye the Spirit of...", so "Spirit" and "world" should be read forward into that movement. In 1 John context, the local focus is Christ, faith, and discipleship.
A plain takeaway is to answer the verse's own emphasis on "Spirit" and "world" with trust shaped by these words, not by a vague optimism outside the passage.