John 12:36

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:36 in Other Translations

KJV
36 While ye have light, believe in the light, that ye may be the children of light. These things spake Jesus, and departed, and did hide himself from them.
ESV
36 While you have the light, believe in the light, that you may become sons of light." When Jesus had said these things, he departed and hid himself from them.
NLT
36 Put your trust in the light while there is still time; then you will become children of the light.” After saying these things, Jesus went away and was hidden from them.
MSG
36 As you have the light, believe in the light. Then the light will be within you, and shining through your lives. You'll be children of light."
CSB
36 While you have the light, believe in the light so that you may become sons of light." Jesus said this, then went away and hid from them.

John 12:36 In-Context

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 2

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.