John 3:17 says: For God sent not his Son into the world to condemn the world; but that the world through him might be saved.
(KJV).
The verse follows John 3:16 in Jesus' conversation with Nicodemus in John 3. Read it in context at John 3:17, or the full chapter at John 3.