The life lesson is too keep your “chin up” meaning always be ready for good things to happen, have a good mine set on things, and always be prepared for success.
This will effect the character in a POSITIVE way because they will be now happier and ready for good things to happen. They have changed their whole mind set.