If you know that he is righteous, you know that everyone who practices righteousness is born of him.

 The world in this passage does not mean the world in general, for God loved the world which he had made; it means the world which, in fact, had forsaken the God who made it. 