"In him was life" is a metonym for causing everything to live. And, "light" here is a metaphor for "truth." Alternate translation: "He is the one who caused everything to live. And he revealed to people what is true about God" (See: [[rc://en/ta/man/jit/figs-metonymy]] and [[rc://en/ta/man/jit/figs-metaphor]])