To understand the meaning of life Buddha had to sit under a Bodhi tree and then he knew what the life is all about. But we can see here that Buddha didn’t really know what was going on until later in life.