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.

Read John 12:36 Using Other Translations

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.
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.
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.