John 12:35-36

35 Then Jesus told them, “You are going to have the light just a little while longer. Walk while you have the light, before darkness overtakes you. Whoever walks in the dark does not know where they are going.
36 Believe in the light while you have the light, so that you may become children of light.” When he had finished speaking, Jesus left and hid himself from them.

John 12:35 in Other Translations

KJV
35 Then Jesus said unto them,Yet a little while is the light with you. Walk while ye have the light, lest darkness come upon you: for he that walketh in darkness knoweth not whither he goeth.
ESV
35 So Jesus said to them, "The light is among you for a little while longer. Walk while you have the light, lest darkness overtake you. The one who walks in the darkness does not know where he is going.
NLT
35 Jesus replied, “My light will shine for you just a little longer. Walk in the light while you can, so the darkness will not overtake you. Those who walk in the darkness cannot see where they are going.
MSG
35 Jesus said, "For a brief time still, the light is among you. Walk by the light you have so darkness doesn't destroy you. If you walk in darkness, you don't know where you're going.
CSB
35 Jesus answered, "The light will be with you only a little longer. Walk while you have the light so that darkness doesn't overtake you. The one who walks in darkness doesn't know where he's going.

John 12:35-36 In-Context

33 He said this to show the kind of death he was going to die.
34 The crowd spoke up, “We have heard from the Law that the Messiah will remain forever, so how can you say, ‘The Son of Man must be lifted up’? Who is this ‘Son of Man’?”
35 Then Jesus told them, “You are going to have the light just a little while longer. Walk while you have the light, before darkness overtakes you. Whoever walks in the dark does not know where they are going.
36 Believe in the light while you have the light, so that you may become children of light.” When he had finished speaking, Jesus left and hid himself from them.
37 Even after Jesus had performed so many signs in their presence, they still would not believe in him.
38 This was to fulfill the word of Isaiah the prophet: “Lord, who has believed our message and to whom has the arm of the Lord been revealed?”

Cross References 5

Scripture quoted by permission.  Quotations designated (NIV) are from THE HOLY BIBLE: NEW INTERNATIONAL VERSION®.  NIV®.  Copyright © 1973, 1978, 1984, 2011 by Biblica.  All rights reserved worldwide.