“I’m going to let you in on a little secret: While these things matter in the moment, they are much less consequential than you might think,” Pichai told Stanford University graduates earlier this month.

“You could have failed that biology test, skipped a class, never learned to play the tuba. And you’d still probably be here today.”

It’s a lesson Pichai learned first hand back when he too was a student at Stanford studying materials science and engineering. He admitted he was often obsessed over grades, career prospects, and mapping out his future. Then an unexpected road trip to Las Vegas shifted his perspective.

The soft-spoken tech leader recalled how a classmate once convinced him to skip a lecture and drive to Sin City—a move that felt wildly out of character for someone who had never missed class before. Along the way, he saw snow for the first time, learned to play blackjack, and discovered something even more valuable when nobody noticed his absence.

“For the first time, I realized the world won’t end if I relaxed a little,” the 54-year-old recalled.