As an adult mostly, although I learned it along the way like most I suppose...the harder the lessons the more I learned. (Had some pretty difficult lessons in life, tough situations.)
I like what that nun told you, a valuable lesson to learn in life for sure. I suppose the older we get the more we pay attention to the experiences, the more mature we are, and so they stick with us a little better.