Lemony Snicket said this quote

Occasionally, events in one's life become clearer through the prism of experience, a phrase which simply means that things tend to be clearer as time goes on. For instance, when a person is just born, they usually have no idea what curtains are and spend a great deal of their first months wondering why on earth Mommy and Daddy have hung large pieces of cloth over each window in the nursery. But as the person grows older, the idea of curtains becomes clearer through the prism of experience. The person will learn the word curtains and notice that they are actually quite handy for keeping a room dark when it is time to sleep, and for decorating an otherwise boring window area. Eventually, they will entirely accept the idea of curtains of their own, or venetian blinds, and it is all due to the prism of experience.